working [each] attribute and context mappings. Not perfect, though.

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>