Cleaned up IDE warnings.