Add example for magic methods.