Added some of embedding methods.