Perhaps add a controller class before calling it's methods? Woops