Add klass as a package dependency