Fix _doc property access