[[ FoundationRecord ]] Added 'basetype' to records allowing record extension.