Make sure elements are only added once