Refactorings: remove code generation functionality