public function prePersist(UploadableInterface $uploadable)
    {
        if (!$this->enabled) {
            return;
        }

        // TODO Remove (when handled by resource behavior).
        $uploadable
            ->setCreatedAt(new \DateTime())
            ->setUpdatedAt(new \DateTime());

        $this->uploader->prepare($uploadable);
    }