Removed useless warnings