Cleaned warnings from code.