These are just some useful default functions.