missing addAttribute method to allow for addition of custom attributes