Added support for elem()