Added functions to package singleton to set package state