Updated for hdkn-v3.