Support for shiro.