Adding a few functions.