`BooleanType` should probably be a singleton object. You can add a static `getInstance()` method, as we do for front-end classes.