Fix several class references and check permission in InfoCommand