compatibility with options.type

- removed deprecated functions from util