Added 'wrapper' function.