Basic functionality and classes.