modify controller definition to enable filter and private properties as well private functions