protected function registerAttachment($name, $options)
	{
		$options = $this->mergeOptions($options);
		App::make('AttachmentValidator')->validateOptions($options);
		
		$attachment = App::make('Attachment', array('name' => $name, 'options' => $options));
		$attachment->setInstance($this);
		$this->attachedFiles[$name] = $attachment;
	}