Added pear package functionality