Added support for configurable norm