ADD: Add "use strict".
FIX: Log possible error in the factory function to console.