Removed invalid method call from template
Added alias set_main_model
Added alias set_main_model