Adding interface for Animal class.