Fixed bugs in extend.
Bumping version.