Prototype extraction