public static function bootLaraclip()
	{
		static::saved(function($instance) {
			if(is_array($instance->attachedFiles))
			{
				foreach($instance->attachedFiles as $attachedFile) {
					$attachedFile->afterSave($instance);
				}
			}
		});

		static::deleting(function($instance) {
			if(is_array($instance->attachedFiles))
			{
				foreach($instance->attachedFiles as $attachedFile) {
					$attachedFile->beforeDelete($instance);
				}
			}
		});

		static::deleted(function($instance) {
			if(is_array($instance->attachedFiles))
			{
				foreach($instance->attachedFiles as $attachedFile) {
					$attachedFile->afterDelete($instance);
				}
			}
		});
	}