Made 'turner' more generic and extensible.