enclosing lib scope to impove module loader support