Utilities for common module definition modify from cmd-util