新增auto register mixin