diff --git a/theme/theme.inc b/theme/theme.inc
index 6406fd6..346c3e8 100644
--- a/theme/theme.inc
+++ b/theme/theme.inc
@@ -221,4 +221,4 @@ function template_preprocess_views_view_views_rss(&$variables) {
 
   // Set XML header.
   drupal_add_http_header('Content-Type', 'application/rss+xml; charset=utf-8');
-}
\ No newline at end of file
+}
diff --git a/views/views_rss.views.inc b/views/views_rss.views.inc
index f5a8bed..46726c5 100644
--- a/views/views_rss.views.inc
+++ b/views/views_rss.views.inc
@@ -17,10 +17,10 @@ function views_rss_views_plugins() {
         'title' => t('RSS Feed - Fields'),
         'help' => t('Outputs a RSS formatted feed'),
         'handler' => 'views_rss_plugin_style_fields',
-        'path' => VIEWS_RSS_PATH . '/views',
+        'path' => 'views',
         'theme' => 'views_view_views_rss',
         'theme file' => 'theme.inc',
-        'theme path' => VIEWS_RSS_PATH . '/theme',
+        'theme path' => 'theme',
         'uses row plugin' => FALSE,
         'uses fields' => TRUE,
         'uses options' => TRUE,
@@ -36,7 +36,7 @@ function views_rss_views_plugins() {
 function views_rss_views_handlers() {
   return array(
     'info' => array(
-      'path' => VIEWS_RSS_PATH . '/views',
+      'path' => 'views',
     ),
     'handlers' => array(
       'views_rss_handler_field_user_mail' => array(
diff --git a/views_rss.module b/views_rss.module
index 00dd63b..a42b9b8 100644
--- a/views_rss.module
+++ b/views_rss.module
@@ -11,11 +11,6 @@
 define('VIEWS_RSS_BUILD', '7.x-2.x-dev-20120416');
 
 /**
- * Module installation path.
- */
-define('VIEWS_RSS_PATH', drupal_get_path('module', 'views_rss'));
-
-/**
  * In theory, theme.inc should be automatically loaded from hook_views_plugins()
  * implementation in views_rss.views.inc - which usually is the case, apart from
  * when "Rescan template files" in view configuration is used, when new template
@@ -23,7 +18,7 @@ define('VIEWS_RSS_PATH', drupal_get_path('module', 'views_rss'));
  * template_preprocess_views_view_views_rss() is not available, and we're getting
  * "Array" instead of proper feed data as a result.
  */
-include_once VIEWS_RSS_PATH . '/theme/theme.inc';
+module_load_include('inc', 'views_rss', 'theme/theme');
 
 /**
  * Implements hook_views_api().
@@ -31,7 +26,7 @@ include_once VIEWS_RSS_PATH . '/theme/theme.inc';
 function views_rss_views_api() {
   return array(
     'api' => 3,
-    'path' => VIEWS_RSS_PATH . '/views',
+    'path' => 'views',
   );
 }
 
