Finish migration of keyword function.