Debug logging
Enforce limited number of contracts