Add deprecated element_* functions