Fix configuration to work with gutenberg. Improvements welcomed.