Corrected minor issues that were causing warnings in the compiler