Modify method extend to extend_to