Borrow function deprecated in Padrino master. Tests now pass.