Fix: defineMethod should be able to search for super class