Fix the example snippet for sub packages.