Fixed various inspector warnings