Fix priority of accepted types