Fixing bug when calling undefined public methods