Distributed: made hazel cast configurable by using dynamic API