Break print_deprecation_message in more methods