Completed basic functionality.