Throwing exceptions from within the API now takes a stack level.