Implementing packageInfo function.