Small DSL for defining virtual attributes.