modified compile errors for TypeBuilder