Add depth tracking.