makes docs instance variable an attr_accessor