Added possibility to feed in suggestion render function.