diff --git a/purl.module b/purl.module
index 42dcb76..6c73ce4 100644
--- a/purl.module
+++ b/purl.module
@@ -17,6 +17,15 @@ function purl_theme($existing, $type, $theme, $path) {
 }
 
 /**
+ * Implements hook_custom_theme().
+ */
+function purl_custom_theme() {
+  // Done so that purl information is available to modules implementing
+  // hook_custom_theme().
+  purl_init();
+}
+
+/**
  * Implementation of hook_menu().
  */
 function purl_menu() {
