Update weighted median types for consistency