If this pattern happens to often I think having another method, wrapping this method to return the element could be of use - with just one instance it seems odd though :-)