Added stack to webapi.