Add some const, fixes warnings: