Add extend.js for easier classical inheritance.