PUT as create docs, and move mixin out to external gist