Add generalized dev flags support

TBR: @devoncarew