Fix a Scrutinizer issue with magic methods