Allowing the ability to append and prepend to elements