Removing annoying warnings