Catch NoSuchMethodException when finding out what methods are available

...not sure how this worked before to be honest.