Added support for oembed endpoint