Removed pointless warnings that gives warnings