Add semantic class to format commands