plugin module working on #776