Function skeletons.