Finished implementation.