Removed some compiler warnings.