Added helper asserts for elements.