Removed duplication through __format() method.