Added setDepth() to product factory