Added stacktrace information so it can be used in layouts.

I was not able to use some Layout Renderers because they require the stack trace information.