Inverting order to avoid catch all as first definition