creates function stubs on object