Helper function changes.