Fix a missing method of a stub.