Finish formatting codes of packages