Fix extends syntax.
Document encoding of capability pointers.
Notes on MSVC.
Set release branch version to 0.4.0.