Rename fromEntity to entityType
Made finish() internal.
Made DSL subclassable.