public function removeTemplate($key, $file, $priority = 10)
    {
        // If we can't find the template file we do not have to remove anything.
        if (!isset($this->templates[$key][$priority])) {
            return false;
        }
        
        // Remove the template file.
        unset($this->templates[$key][$priority]);
    }