Added support for css and data methods