Fix return value.
Fix cache.
Fix reflection.packages()
Refactoring.