Declaration of overridden method should be compatible with parent class.