Remove duplicated Braintree code