Stupid compiler errors that I should have caught earlier