Add MVC function.