Remove old register functions, add comments.