formula: add/improve more API docs.

Closes #35266.
Fix warning
Overriding #initialize is not supported, so drop late validation
Unroll validation loop