Solved some warnings.