Add stack tracer and paging code.