[mod] Code cleanup.