Removed all warnings from compilation