Remove build directory from repo
Unify scalar types into ~str
Check if document is empty