Fix some warnings.

Should this just be removed? (if not maybe leave a comment saying why)