Add variable and accessors for MVC