Remove some compilation warnings