Cleaning up compiler warning messages