editor: Reconfigure dependencies. Add some utility functions.