Remove unused parts
Minor refactoring in CakePhpEditorExtender