Swapped the boolean primitive for the class.