Fixed getMessageFormat signature due to interface change.