Finished code/comments/tests.