Added MethodResult and ClassResult classes