enums for docs and viewports added