Added support for multiple address flags.