Fix bug with attrs in get_context.

    - Attrs did not contained the apropriate initialization.
      Using self.attrs instead.