Laying down skeleton for `apply`, implementation still to come.