Refactor add/remove attribute to product methods