Added missing equals method.