encode ref to same package as "." for #331
"$" should be used from any module. We could even remove module ref