Change context to be a simple accessor to a real hash

By this change, there is need for add_context and delete_context anymore.

@tobi @fw42