Added basic functions.