   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 @
 

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


      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 @;

