Fix parsing magic methods.