Factors out the speak method to a base class so all parts can use it