Allow isset on Documents to use dot notation. Fixes #1093