Apply the unapply trick.