Document model now allows grabbing by code