Replaced magic methods and overloading with actual methods.