Added accessors to controller