refs: some cleanup.