Simplify definition of embed