Such that in your override, before calling the original implementation, you do this hashing yourself. This way, the password are first hashes using PBKDF2 and then hashes using argon2 in the core. Doing this double hashing shouldn’t really cause any issues from a security point of view anyway, and give you what you are looking for