Adding necessary helpers.