Fallback to deprecated hashcompat only where necessary