Added patch to remove print messages.