Removed some warnings in files.