removed circular dependence on behat_editor_services