Add comments to refer the spec.

This pull request intends to clarify the relationship between implementation and spec.

I think this change will make it easier to follow the spec's update.