Added support for capes.