Cleanup function signatures by auto generating Object constraints for products.