Enhanced version. Supports Realm, Module and Service Chain. Redirect Optional