Removed the compiler warnings