API  and resource decorations using dynamic mixins