rename name dsl method to named; add helper method to parse content