Use this.type in the fluent API