Move helper functions.