Remove use of parent element