Removed references to elementFromURL

This method has been deprecated.