Added comments to indicate copy-pasteable code.