declared_mixin decorator to avoid annoying series of @declared_attr-decorated methods