Add relevant types for creating text resources to dsl doc
Polish javadoc