`TrivialAccessors` accepts DSL-style writers.

@bbatsov what do you think of this change?