Add two functions to use easily.