Made LinearProduct an extension