Removed code that caused compiler warnings.