Adapted to ColaScript.