Removed warning prints.