Fixed a warning about a missing method.