made api extension configurable