[Dev] Change to function.