Removing compilation warnings