Move continuation monad functions to core namespace