Added support for data-routes attribute
Added support for data-extent attribute.