Type error in a method signature.