Add support for deep package access (a::b::c). Fixes #38.