Formalizing mixin API, adding supporting docs.