   insert: (namespace, module) ->
     # Validate namespace parameter
     typeOfNamespace = @toType namespace
-    if (typeOfNamespace) isnt "String"
+    if typeOfNamespace isnt "String"
       console.error "Namespace.insert(namespace, module): Expecting 'namespace' parameter to be of type String. Instead saw type #{typeOfNamespace}. Module failed to be inserted."
       return @
 

      console.error "Namespace.define(module): Expected module '#{namespace}'s definition to be a function. Module failed to be added to namespace."
      return @;

    if (definition() is undefined)
      console.error "Namespace.define(module): Expected module '#{namespace}'s definition to return an object. Module failed to be added to namespace."
      return @;


  # Private Methods
  _getDependencies: (dependencies) ->
    typeOfDependencies = @toType dependencies
    if typeOfDependencies isnt "Array"
      console.error "Namespace.define(module): Expected module.using to be of type Array, instead saw #{typeOfDependencies}. Module failed to be added to namespace."
      return undefined
    result = [];
