extending pelias rather than using setInstance method