Removed compiler warnings