diff --git a/code/VersionedFileExtension.php b/code/VersionedFileExtension.php
index <HASH>..<HASH> 100644
--- a/code/VersionedFileExtension.php
+++ b/code/VersionedFileExtension.php
@@ -7,15 +7,8 @@
  */
 class VersionedFileExtension extends DataExtension {
 
-	/**
-	 * @return array
-	 */
-	public function extraStatics($class = null, $extension = null) {
-		return array (
-			'has_one'  => array('CurrentVersion' => 'FileVersion'),
-			'has_many' => array('Versions'       => 'FileVersion')
-		);
-	}
+	public static $has_one = array('CurrentVersion' => 'FileVersion');
+	public static $has_many = array('Versions'      => 'FileVersion');
 
 	/**
 	 * @param FieldSet $fields
removed extraStatics method from VersionedFileExtension, just use static vars