Had same issue. If you add functions via json instead it works.
Hold fn and press backspace :) Works for me anyway!