Make extend truly come last