Added default param for extend.