Cleanup

Removed warnings from many things.