Make sure the method exists before calling it, so it doesn't blow up.