Conditional dispatch implementation