Make commands only available in certain contexts