Fixed addMethod bug where it doesnt accept a class as callback