Ignore functions of objects
fixes #2