Added support for multiple dots in the package name.