Fixed a reg function name.