Make it possible for plugins to make commands where permissions rely on metadata