Add isProduction call. Closes #1.