Add agent type support (flush/replicate) on creation.