Use init -> embed instead of the deprecated init method