Some functions.