Cleanup for pull