Fix uninitialized variable in Document::fullSize()
Add project dependencies