Added get pub formats function