[Issue #11] Using weak reference for parent document property to prevent retain cycle /cc @nduplessis