Regulation of unmanned aerial vehicles