More comments. Removed a function that's no longer being used.