Cleanup Definition API.