Add stack trace typings