Last part of the documentation about adding form types, doesn't seem to work. I can't see were that is implemented in the code here.