Add message to deprecated methods.