Add explicit Prototyped API lifecycle transition

And update HTML API docs.