Removed unnecessary boolean boxing