Add support for recursive thumbnail calls.