Gotcha, moved the helper functions into their own header.