added widget injects support