Add monadic version of embed called embedM