Change way of checking if an overload exists and add detailed error message