Fix library and version being added to the context (close #29)