Removed dependency & improvded wording in @param
Applied *_DEFAULT bitmask to $flags paramters