Added retrieve_element methods to retrieve library