template fields are enumerable
quick refactoring
support value_type
bump to 0.3.0