Specify related document and not collection.
Added smart.lock to .gitignore.