Imprement tuple apply.