Adds comments where necessary.