Addressed the comments in https://github.com/gem/oq-commonlib/pull/44