Introduce base class for declaration emitters.
Add keywords to Keyword regex. Add optional name for declaration extensions.