Allow to configure REST handler manually (#40)