Removes annoying warnings