Merge pull request #1351 from billhollings/reference-counting-mixin

Add class mixins for reference counting and configuration results.