Added functions to simplify and standardize parsing of function flags and generation of parameter structures.