packages: removed useless package type from registerPackage() method & fixed docblock