public function register($alias, \Closure $closure)
    {
        if (!is_string($alias))
            throw new Exception('Application::register() requires a string as the first parameter.');
        
        $this->registered[$alias] = $closure;
        
        return true;
    }