added missing methods to functions and other prototypes