Removing unecessary warnings and stuff