Use respond_to? instead of methods.include?