Add extend to global objects