This way, its properties can be overwritten in subclasses of `ApiControllerTestCase`. This isn't allowed when those subclasses use the trait directly.