Add applyTo method