Final functionality and commenting.