Add a function that exposes the calldepth so it can be built on.