Do not check typeof module.exports === 'object', since it will be the Base constructor function after straps.js is included.

Closes #461