Removed some annoying compiler warnings