Nit-pick: Technically, this isn't correct. You're not passing in an instance of package, you're passing in a class.