Added a bunch of functionality to get things started.