Pass classifier/model directly instead of wrapping subfunction