Fixed some issues with object extend(), added 'editable' directive to template_manager