Adding interface method for get elements by name