Updated for UICommandMetadata