Improving error message when target Class or Method is not found