diff --git a/picture.install b/picture.install
index a8c0071..e72698a 100644
--- a/picture.install
+++ b/picture.install
@@ -56,3 +56,11 @@ function picture_schema() {
 
   return $schema;
 }
+
+/**
+ * Implements hook_uninstall().
+ */
+function picture_uninstall() {
+  variable_del('picture_ckeditor_groups');
+  variable_del('picture_ckeditor_label');
+}
diff --git a/picture.module b/picture.module
index fba3d9f..4004bfa 100644
--- a/picture.module
+++ b/picture.module
@@ -1264,14 +1264,6 @@ function picture_ckeditor_plugin() {
 }
 
 /**
- * Implements hook_uninstall().
- */
-function picture_uninstall() {
-  variable_del('picture_ckeditor_groups');
-  variable_del('picture_ckeditor_label');
-}
-
-/**
  * Wrapper around image_style_url() so we can return an empty image.
  */
 function _picture_image_style_url($style_name, $path) {
