Fixed annoying warnings. Braintree partly integrated.