add binding for Document