commit 03cc1a21363fc91528b74aafe30bd4c97db6eb8d
Author: Mark Raynsford <code@io7m.com>
Date:   Mon Jun 4 15:32:31 2018 +0100

    Update POM

diff --git a/pom.xml b/pom.xml
index eb402cd..147c96d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,455 +1,456 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
   <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
   <url>http://github.com/io7m/jcage</url>
 
   <modules>
     <module>io7m-jcage-checkstyle</module>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
     <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://io7m.com/license/isc.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>https://github.com/io7m/jcage</url>
     <connection>scm:git:https://github.com/io7m/jcage</connection>
     <developerConnection>scm:git:https://github.com/io7m/jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://github.com/io7m/jcage/issues</url>
     <system>GitHub Issues</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
       <id>io7m.com</id>
       <name>io7m.com</name>
       <url>https://www.io7m.com/software/jcage</url>
     </site>
     <repository>
       <id>sonatype-nexus-staging</id>
       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
     </repository>
   </distributionManagement>
 
   <ciManagement>
     <system>Travis CI</system>
     <url>https://travis-ci.org/io7m/jcage</url>
   </ciManagement>
 
   <prerequisites>
     <maven>3.0.4</maven>
   </prerequisites>
 
   <dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>com.io7m.jnull</groupId>
         <artifactId>io7m-jnull-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
       <dependency>
         <groupId>com.io7m.junreachable</groupId>
         <artifactId>io7m-junreachable-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
 
       <dependency>
         <groupId>org.valid4j</groupId>
         <artifactId>valid4j</artifactId>
         <version>0.5.0</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
         <version>1.7.21</version>
       </dependency>
 
       <dependency>
         <groupId>net.java</groupId>
         <artifactId>quickcheck</artifactId>
         <version>0.6</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-core</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.12</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.9</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
           <validate>true</validate>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>2.19.1</version>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.2</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <pluginManagement>
       <plugins>
         <!-- Submodule plugin versions -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-clean-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.8.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.10.3</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>2.19.1</version>
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
           </configuration>
         </plugin>
 
         <!-- Submodule checkstyle configuration. -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.17</version>
           <dependencies>
             <dependency>
               <groupId>${project.groupId}</groupId>
               <artifactId>io7m-jcage-checkstyle</artifactId>
               <version>${project.version}</version>
             </dependency>
           </dependencies>
           <executions>
             <execution>
               <id>validate</id>
               <phase>process-sources</phase>
               <configuration>
                 <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml</configLocation>
                 <encoding>UTF-8</encoding>
                 <consoleOutput>true</consoleOutput>
                 <failsOnError>true</failsOnError>
                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
               </configuration>
               <goals>
                 <goal>check</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
 
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.6</version>
         </plugin>
         <plugin>
           <groupId>com.io7m.jstructural</groupId>
           <artifactId>io7m-jstructural-maven-plugin</artifactId>
           <version>4.2.0</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>truezip-maven-plugin</artifactId>
           <version>1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
           <version>3.2.0</version>
           <extensions>true</extensions>
         </plugin>
 
         <!-- Require JDK >= 1.8 -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.5.1</version>
           <configuration>
             <source>1.8</source>
             <target>1.8</target>
           </configuration>
         </plugin>
 
         <!-- Produce jar files -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>3.0.0</version>
           <executions>
             <!-- Produce jar file with custom manifest -->
             <execution>
               <id>default-jar</id>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                     <Sealed>true</Sealed>
                   </manifestEntries>
                 </archive>
               </configuration>
               <goals>
                 <goal>jar</goal>
               </goals>
             </execution>
             <!-- Produce jar file of tests -->
             <execution>
               <id>test-jar</id>
               <goals>
                 <goal>test-jar</goal>
               </goals>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                   </manifestEntries>
                 </archive>
               </configuration>
             </execution>
           </executions>
         </plugin>
 
         <!-- Sonatype OSSRH deployment -->
         <plugin>
           <groupId>org.sonatype.plugins</groupId>
           <artifactId>nexus-staging-maven-plugin</artifactId>
           <version>1.6.7</version>
           <extensions>true</extensions>
           <configuration>
             <serverId>sonatype-nexus-staging</serverId>
             <nexusUrl>https://oss.sonatype.org/</nexusUrl>
             <autoReleaseAfterClose>true</autoReleaseAfterClose>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.9</version>
       </extension>
     </extensions>
 
     <!-- Shared build logic for all submodules -->
     <plugins>
 
       <!-- Create source jars -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Create javadoc jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <executions>
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom>Copyright &amp;#169; {currentYear} &amp;lt;code@io7m.com&amp;gt; http://io7m.com</bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce OSGi bundle -->
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
           <instructions>
             <Specification-Title>${project.name}</Specification-Title>
             <Specification-Version>${project.version}</Specification-Version>
             <Specification-Vendor>io7m.com</Specification-Vendor>
             <Implementation-Title>${project.name}</Implementation-Title>
             <Implementation-Version>${project.version}</Implementation-Version>
             <Implementation-Vendor>io7m.com</Implementation-Vendor>
             <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
             <Built-By>io7m</Built-By>
             <Sealed>true</Sealed>
           </instructions>
         </configuration>
       </plugin>
     </plugins>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.6</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
-</project>
\ No newline at end of file
+</project>

commit c52f73af700fad472ee1c7205336aff348f4da22
Author: Mark Raynsford <code@io7m.com>
Date:   Mon Jun 4 15:20:56 2018 +0100

    Update site

diff --git a/pom.xml b/pom.xml
index dce843b..eb402cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,459 +1,455 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
-  xmlns="http://maven.apache.org/POM/4.0.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
   <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
   <url>http://github.com/io7m/jcage</url>
 
   <modules>
     <module>io7m-jcage-checkstyle</module>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
     <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://io7m.com/license/isc.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>https://github.com/io7m/jcage</url>
     <connection>scm:git:https://github.com/io7m/jcage</connection>
     <developerConnection>scm:git:https://github.com/io7m/jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://github.com/io7m/jcage/issues</url>
     <system>GitHub Issues</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
-      <id>GitHub</id>
-      <name>GitHub</name>
-      <url>http://io7m.github.io/jcage</url>
+      <id>io7m.com</id>
+      <name>io7m.com</name>
+      <url>https://www.io7m.com/software/jcage</url>
     </site>
     <repository>
       <id>sonatype-nexus-staging</id>
       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
     </repository>
   </distributionManagement>
 
   <ciManagement>
     <system>Travis CI</system>
     <url>https://travis-ci.org/io7m/jcage</url>
   </ciManagement>
 
   <prerequisites>
     <maven>3.0.4</maven>
   </prerequisites>
 
   <dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>com.io7m.jnull</groupId>
         <artifactId>io7m-jnull-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
       <dependency>
         <groupId>com.io7m.junreachable</groupId>
         <artifactId>io7m-junreachable-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
 
       <dependency>
         <groupId>org.valid4j</groupId>
         <artifactId>valid4j</artifactId>
         <version>0.5.0</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
         <version>1.7.21</version>
       </dependency>
 
       <dependency>
         <groupId>net.java</groupId>
         <artifactId>quickcheck</artifactId>
         <version>0.6</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-core</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.12</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.9</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
           <validate>true</validate>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>2.19.1</version>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.2</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <pluginManagement>
       <plugins>
         <!-- Submodule plugin versions -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-clean-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.8.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.10.3</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>2.19.1</version>
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
           </configuration>
         </plugin>
 
         <!-- Submodule checkstyle configuration. -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.17</version>
           <dependencies>
             <dependency>
               <groupId>${project.groupId}</groupId>
               <artifactId>io7m-jcage-checkstyle</artifactId>
               <version>${project.version}</version>
             </dependency>
           </dependencies>
           <executions>
             <execution>
               <id>validate</id>
               <phase>process-sources</phase>
               <configuration>
                 <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml</configLocation>
                 <encoding>UTF-8</encoding>
                 <consoleOutput>true</consoleOutput>
                 <failsOnError>true</failsOnError>
                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
               </configuration>
               <goals>
                 <goal>check</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
 
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.6</version>
         </plugin>
         <plugin>
           <groupId>com.io7m.jstructural</groupId>
           <artifactId>io7m-jstructural-maven-plugin</artifactId>
           <version>4.2.0</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>truezip-maven-plugin</artifactId>
           <version>1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
           <version>3.2.0</version>
           <extensions>true</extensions>
         </plugin>
 
         <!-- Require JDK >= 1.8 -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.5.1</version>
           <configuration>
             <source>1.8</source>
             <target>1.8</target>
           </configuration>
         </plugin>
 
         <!-- Produce jar files -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>3.0.0</version>
           <executions>
             <!-- Produce jar file with custom manifest -->
             <execution>
               <id>default-jar</id>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                     <Sealed>true</Sealed>
                   </manifestEntries>
                 </archive>
               </configuration>
               <goals>
                 <goal>jar</goal>
               </goals>
             </execution>
             <!-- Produce jar file of tests -->
             <execution>
               <id>test-jar</id>
               <goals>
                 <goal>test-jar</goal>
               </goals>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                   </manifestEntries>
                 </archive>
               </configuration>
             </execution>
           </executions>
         </plugin>
 
         <!-- Sonatype OSSRH deployment -->
         <plugin>
           <groupId>org.sonatype.plugins</groupId>
           <artifactId>nexus-staging-maven-plugin</artifactId>
           <version>1.6.7</version>
           <extensions>true</extensions>
           <configuration>
             <serverId>sonatype-nexus-staging</serverId>
             <nexusUrl>https://oss.sonatype.org/</nexusUrl>
             <autoReleaseAfterClose>true</autoReleaseAfterClose>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.9</version>
       </extension>
     </extensions>
 
     <!-- Shared build logic for all submodules -->
     <plugins>
 
       <!-- Create source jars -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Create javadoc jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <executions>
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
-              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <bottom>Copyright &amp;#169; {currentYear} &amp;lt;code@io7m.com&amp;gt; http://io7m.com</bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce OSGi bundle -->
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
           <instructions>
             <Specification-Title>${project.name}</Specification-Title>
             <Specification-Version>${project.version}</Specification-Version>
             <Specification-Vendor>io7m.com</Specification-Vendor>
             <Implementation-Title>${project.name}</Implementation-Title>
             <Implementation-Version>${project.version}</Implementation-Version>
             <Implementation-Vendor>io7m.com</Implementation-Vendor>
             <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
             <Built-By>io7m</Built-By>
             <Sealed>true</Sealed>
           </instructions>
         </configuration>
       </plugin>
     </plugins>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.6</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
-</project>
+</project>
\ No newline at end of file

commit df9946c3738c25cd76e30af6b33a68c09f305567
Author: Mark Raynsford <code@io7m.com>
Date:   Thu Jan 5 16:07:33 2017 +0000

    Update site links and text

diff --git a/pom.xml b/pom.xml
index b010baf..dce843b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,459 +1,459 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
   <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
   <url>http://github.com/io7m/jcage</url>
 
   <modules>
     <module>io7m-jcage-checkstyle</module>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
     <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-    <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
-    <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
+    <siteReposDirectory>com/io7m/jcage</siteReposDirectory>
+    <siteDocumentationDirectory>com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://io7m.com/license/isc.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>https://github.com/io7m/jcage</url>
     <connection>scm:git:https://github.com/io7m/jcage</connection>
     <developerConnection>scm:git:https://github.com/io7m/jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://github.com/io7m/jcage/issues</url>
     <system>GitHub Issues</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
       <id>GitHub</id>
       <name>GitHub</name>
       <url>http://io7m.github.io/jcage</url>
     </site>
     <repository>
       <id>sonatype-nexus-staging</id>
       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
     </repository>
   </distributionManagement>
 
   <ciManagement>
     <system>Travis CI</system>
     <url>https://travis-ci.org/io7m/jcage</url>
   </ciManagement>
 
   <prerequisites>
     <maven>3.0.4</maven>
   </prerequisites>
 
   <dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>com.io7m.jnull</groupId>
         <artifactId>io7m-jnull-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
       <dependency>
         <groupId>com.io7m.junreachable</groupId>
         <artifactId>io7m-junreachable-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
 
       <dependency>
         <groupId>org.valid4j</groupId>
         <artifactId>valid4j</artifactId>
         <version>0.5.0</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
         <version>1.7.21</version>
       </dependency>
 
       <dependency>
         <groupId>net.java</groupId>
         <artifactId>quickcheck</artifactId>
         <version>0.6</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-core</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.12</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.9</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
           <validate>true</validate>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>2.19.1</version>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.2</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <pluginManagement>
       <plugins>
         <!-- Submodule plugin versions -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-clean-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.8.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.10.3</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>2.19.1</version>
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
           </configuration>
         </plugin>
 
         <!-- Submodule checkstyle configuration. -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.17</version>
           <dependencies>
             <dependency>
               <groupId>${project.groupId}</groupId>
               <artifactId>io7m-jcage-checkstyle</artifactId>
               <version>${project.version}</version>
             </dependency>
           </dependencies>
           <executions>
             <execution>
               <id>validate</id>
               <phase>process-sources</phase>
               <configuration>
                 <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml</configLocation>
                 <encoding>UTF-8</encoding>
                 <consoleOutput>true</consoleOutput>
                 <failsOnError>true</failsOnError>
                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
               </configuration>
               <goals>
                 <goal>check</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
 
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.6</version>
         </plugin>
         <plugin>
           <groupId>com.io7m.jstructural</groupId>
           <artifactId>io7m-jstructural-maven-plugin</artifactId>
           <version>4.2.0</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>truezip-maven-plugin</artifactId>
           <version>1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
           <version>3.2.0</version>
           <extensions>true</extensions>
         </plugin>
 
         <!-- Require JDK >= 1.8 -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.5.1</version>
           <configuration>
             <source>1.8</source>
             <target>1.8</target>
           </configuration>
         </plugin>
 
         <!-- Produce jar files -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>3.0.0</version>
           <executions>
             <!-- Produce jar file with custom manifest -->
             <execution>
               <id>default-jar</id>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                     <Sealed>true</Sealed>
                   </manifestEntries>
                 </archive>
               </configuration>
               <goals>
                 <goal>jar</goal>
               </goals>
             </execution>
             <!-- Produce jar file of tests -->
             <execution>
               <id>test-jar</id>
               <goals>
                 <goal>test-jar</goal>
               </goals>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                   </manifestEntries>
                 </archive>
               </configuration>
             </execution>
           </executions>
         </plugin>
 
         <!-- Sonatype OSSRH deployment -->
         <plugin>
           <groupId>org.sonatype.plugins</groupId>
           <artifactId>nexus-staging-maven-plugin</artifactId>
           <version>1.6.7</version>
           <extensions>true</extensions>
           <configuration>
             <serverId>sonatype-nexus-staging</serverId>
             <nexusUrl>https://oss.sonatype.org/</nexusUrl>
             <autoReleaseAfterClose>true</autoReleaseAfterClose>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.9</version>
       </extension>
     </extensions>
 
     <!-- Shared build logic for all submodules -->
     <plugins>
 
       <!-- Create source jars -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Create javadoc jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <executions>
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce OSGi bundle -->
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
           <instructions>
             <Specification-Title>${project.name}</Specification-Title>
             <Specification-Version>${project.version}</Specification-Version>
             <Specification-Vendor>io7m.com</Specification-Vendor>
             <Implementation-Title>${project.name}</Implementation-Title>
             <Implementation-Version>${project.version}</Implementation-Version>
             <Implementation-Vendor>io7m.com</Implementation-Vendor>
             <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
             <Built-By>io7m</Built-By>
             <Sealed>true</Sealed>
           </instructions>
         </configuration>
       </plugin>
     </plugins>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.6</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
 </project>
diff --git a/src/site/xdoc/releases.xml.vm b/src/site/xdoc/releases.xml.vm
index f1fcf27..17ac451 100644
--- a/src/site/xdoc/releases.xml.vm
+++ b/src/site/xdoc/releases.xml.vm
@@ -1,32 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Releases</title>
   </properties>
   <body>
     <section name="Releases">
       <p>The current release is ${project.version}.</p>
       <p>
         Source code and binaries are available from the
         <a href="https://repo1.maven.org/maven2/${siteReposDirectory}/">repository</a>.
       </p>
     </section>
     <section name="Documentation">
       <p>
         Documentation for the ${project.version} release is available for reading online.
       </p>
       <ul>
         <li><a href="documentation/index-m.xhtml">XHTML - one page per section</a></li>
         <li><a href="documentation/index.xhtml">XHTML - single page</a></li>
       </ul>
       <p>
-        Older documentation is archived in the
+        Documentation for current and older releases is archived in the
         <a href="https://repo1.maven.org/maven2/${siteDocumentationDirectory}">repository</a>.
       </p>
     </section>
   </body>
 </document>
 

commit 8f88c0df939d718e31321024ae3b52ebce1b2100
Author: Mark Raynsford <code@io7m.com>
Date:   Wed Aug 24 11:04:06 2016 +0000

    Add Codacy badge

diff --git a/README.md b/README.md
index 8ac74c1..1defcf7 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
 jcage
 ===
 
 [![Build Status](https://travis-ci.org/io7m/jcage.svg?branch=master)](https://travis-ci.org/io7m/jcage)
+[![Codacy Badge](https://api.codacy.com/project/badge/Grade/13c796813dcb4a0aa2712261cc98d956)](https://www.codacy.com/app/github_79/jcage?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=io7m/jcage&amp;utm_campaign=Badge_Grade)
 

commit 867218d3c526b4089dc8f74889fd1363b8f5b287
Author: Mark Raynsford <code@io7m.com>
Date:   Wed Aug 24 11:03:35 2016 +0000

    Remove accidental export

diff --git a/pom.xml b/pom.xml
index beccc4d..b010baf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,460 +1,459 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
   <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
   <url>http://github.com/io7m/jcage</url>
 
   <modules>
     <module>io7m-jcage-checkstyle</module>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
     <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://io7m.com/license/isc.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>https://github.com/io7m/jcage</url>
     <connection>scm:git:https://github.com/io7m/jcage</connection>
     <developerConnection>scm:git:https://github.com/io7m/jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://github.com/io7m/jcage/issues</url>
     <system>GitHub Issues</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
       <id>GitHub</id>
       <name>GitHub</name>
       <url>http://io7m.github.io/jcage</url>
     </site>
     <repository>
       <id>sonatype-nexus-staging</id>
       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
     </repository>
   </distributionManagement>
 
   <ciManagement>
     <system>Travis CI</system>
     <url>https://travis-ci.org/io7m/jcage</url>
   </ciManagement>
 
   <prerequisites>
     <maven>3.0.4</maven>
   </prerequisites>
 
   <dependencyManagement>
     <dependencies>
       <dependency>
         <groupId>com.io7m.jnull</groupId>
         <artifactId>io7m-jnull-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
       <dependency>
         <groupId>com.io7m.junreachable</groupId>
         <artifactId>io7m-junreachable-core</artifactId>
         <version>[1.0.0, 2.0.0)</version>
       </dependency>
 
       <dependency>
         <groupId>org.valid4j</groupId>
         <artifactId>valid4j</artifactId>
         <version>0.5.0</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
         <version>1.7.21</version>
       </dependency>
 
       <dependency>
         <groupId>net.java</groupId>
         <artifactId>quickcheck</artifactId>
         <version>0.6</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-core</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
         <version>1.1.7</version>
       </dependency>
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.12</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.9</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
           <validate>true</validate>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>2.19.1</version>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.2</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <pluginManagement>
       <plugins>
         <!-- Submodule plugin versions -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-clean-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.8.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.10.3</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>2.19.1</version>
           <configuration>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
           </configuration>
         </plugin>
 
         <!-- Submodule checkstyle configuration. -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.17</version>
           <dependencies>
             <dependency>
               <groupId>${project.groupId}</groupId>
               <artifactId>io7m-jcage-checkstyle</artifactId>
               <version>${project.version}</version>
             </dependency>
           </dependencies>
           <executions>
             <execution>
               <id>validate</id>
               <phase>process-sources</phase>
               <configuration>
                 <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml</configLocation>
                 <encoding>UTF-8</encoding>
                 <consoleOutput>true</consoleOutput>
                 <failsOnError>true</failsOnError>
                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
               </configuration>
               <goals>
                 <goal>check</goal>
               </goals>
             </execution>
           </executions>
         </plugin>
 
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.6</version>
         </plugin>
         <plugin>
           <groupId>com.io7m.jstructural</groupId>
           <artifactId>io7m-jstructural-maven-plugin</artifactId>
           <version>4.2.0</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>truezip-maven-plugin</artifactId>
           <version>1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
           <version>3.2.0</version>
           <extensions>true</extensions>
         </plugin>
 
         <!-- Require JDK >= 1.8 -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.5.1</version>
           <configuration>
             <source>1.8</source>
             <target>1.8</target>
           </configuration>
         </plugin>
 
         <!-- Produce jar files -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>3.0.0</version>
           <executions>
             <!-- Produce jar file with custom manifest -->
             <execution>
               <id>default-jar</id>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                     <Sealed>true</Sealed>
                   </manifestEntries>
                 </archive>
               </configuration>
               <goals>
                 <goal>jar</goal>
               </goals>
             </execution>
             <!-- Produce jar file of tests -->
             <execution>
               <id>test-jar</id>
               <goals>
                 <goal>test-jar</goal>
               </goals>
               <configuration>
                 <archive>
                   <manifestEntries>
                     <Specification-Title>${project.name}</Specification-Title>
                     <Specification-Version>${project.version}</Specification-Version>
                     <Specification-Vendor>io7m.com</Specification-Vendor>
                     <Implementation-Title>${project.name}</Implementation-Title>
                     <Implementation-Version>${project.version}</Implementation-Version>
                     <Implementation-Vendor>io7m.com</Implementation-Vendor>
                     <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                     <Built-By>io7m</Built-By>
                   </manifestEntries>
                 </archive>
               </configuration>
             </execution>
           </executions>
         </plugin>
 
         <!-- Sonatype OSSRH deployment -->
         <plugin>
           <groupId>org.sonatype.plugins</groupId>
           <artifactId>nexus-staging-maven-plugin</artifactId>
           <version>1.6.7</version>
           <extensions>true</extensions>
           <configuration>
             <serverId>sonatype-nexus-staging</serverId>
             <nexusUrl>https://oss.sonatype.org/</nexusUrl>
             <autoReleaseAfterClose>true</autoReleaseAfterClose>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.9</version>
       </extension>
     </extensions>
 
     <!-- Shared build logic for all submodules -->
     <plugins>
 
       <!-- Create source jars -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Create javadoc jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <executions>
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce OSGi bundle -->
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
           <instructions>
-            <Export-Package>com.io7m.jproperties</Export-Package>
             <Specification-Title>${project.name}</Specification-Title>
             <Specification-Version>${project.version}</Specification-Version>
             <Specification-Vendor>io7m.com</Specification-Vendor>
             <Implementation-Title>${project.name}</Implementation-Title>
             <Implementation-Version>${project.version}</Implementation-Version>
             <Implementation-Vendor>io7m.com</Implementation-Vendor>
             <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
             <Built-By>io7m</Built-By>
             <Sealed>true</Sealed>
           </instructions>
         </configuration>
       </plugin>
     </plugins>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.6</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
 </project>

commit a76f3c90bf857686e126d2294ddd108512beae17
Author: Mark Raynsford <code@io7m.com>
Date:   Wed Aug 24 11:03:21 2016 +0000

    Increase privacy

diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
index a3910c0..78f5d38 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
@@ -27,211 +27,211 @@ import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 /**
  * <p>
  * A sequential, pattern-based policy.
  * </p>
  *
  * <p>
  * Incoming class and resource names are matched against a series of
  * <i>rules</i>. A rule specifies a <i>pattern</i> and a <i>conclusion</i>.
  * The <i>current conclusion</i> is initially set to the default value as
  * defined by the policy. If a <i>rule's</i> <i>pattern</i> matches the
  * current name, the <i>current conclusion</i> becomes that of the rule. Rules
  * are evaluated from first to last. If a rule is marked as <i>quick</i>,
  * evaluation of rules stops at that point. When evaluation has completed, the
  * <i>current conclusion</i> is returned and used to determine whether or not
  * access is permitted.
  * </p>
  * <p>
  * This scheme was inspired by the OpenBSD PF firewall.
  * </p>
  *
  * @see <a href="http://www.openbsd.org/faq/pf/filter.html">OpenBSD PF</a>
  */
 
 @SuppressWarnings({ "boxing", "synthetic-access" }) public final class JCSequentialPolicy implements
   JCClassLoaderPolicyType
 {
   private static final class Builder implements JCSequentialPolicyBuilderType
   {
     private final JCRuleConclusion class_default;
     private final List<Rule>       class_rules;
     private final JCRuleConclusion resource_default;
     private final List<Rule>       resource_rules;
 
     Builder(
       final JCRuleConclusion in_class_default,
       final JCRuleConclusion in_resource_default)
     {
       this.class_default = NullCheck.notNull(in_class_default);
       this.resource_default = NullCheck.notNull(in_resource_default);
       this.class_rules = new ArrayList<>();
       this.resource_rules = new ArrayList<>();
     }
 
     @Override public void addClassRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.class_rules.add(new Rule(p, quick, c));
     }
 
     @Override public void addResourceRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.resource_rules.add(new Rule(p, quick, c));
     }
 
     @Override public JCSequentialPolicy build()
     {
       return new JCSequentialPolicy(
         this.class_rules,
         this.resource_rules,
         this.class_default,
         this.resource_default);
     }
   }
 
   private static final class Rule
   {
     private final JCRuleConclusion conclusion;
     private final Pattern pattern;
     private final boolean quick;
 
     Rule(
       final Pattern in_pattern,
       final boolean in_quick,
       final JCRuleConclusion in_conclusion)
     {
       this.pattern = NullCheck.notNull(in_pattern);
       this.quick = in_quick;
       this.conclusion = NullCheck.notNull(in_conclusion);
     }
 
-    boolean matches(
+    private boolean matches(
       final String name)
     {
       final Matcher m = this.pattern.matcher(name);
       return m.matches();
     }
   }
 
   private static final Logger LOG;
 
   static {
     LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSequentialPolicy.class));
   }
 
   private static JCRuleConclusion checkRules(
     final String type,
     final String name,
     final JCRuleConclusion default_conclusion,
     final List<Rule> rules)
   {
     JCSequentialPolicy.LOG.debug("{} check {}", type, name);
 
     JCRuleConclusion current_conclusion = default_conclusion;
     boolean done = false;
     for (int index = 0; index < rules.size(); ++index) {
       final Rule rule = rules.get(index);
 
       final boolean match = rule.matches(name);
       if (match) {
         current_conclusion = rule.conclusion;
         if (rule.quick) {
           done = true;
         }
       }
 
       JCSequentialPolicy.LOG.debug(
         "rule [{}]: quick:{} pattern:{} match:{} conclusion:{}",
         index,
         rule.quick,
         rule.pattern,
         match,
         rule.conclusion);
 
       if (done) {
         break;
       }
     }
 
     JCSequentialPolicy.LOG.info("class {} {}", current_conclusion, name);
     return current_conclusion;
   }
 
   /**
    * @param class_default
    *          The default conclusion for classes
    * @param resource_default
    *          The default conclusion for resources
    * @return A new policy builder
    */
 
   public static JCSequentialPolicyBuilderType newEmptyPolicyBuilder(
     final JCRuleConclusion class_default,
     final JCRuleConclusion resource_default)
   {
     return new Builder(class_default, resource_default);
   }
 
   private final JCRuleConclusion class_default;
   private final List<Rule>       class_rules;
   private final JCRuleConclusion resource_default;
   private final List<Rule>       resource_rules;
 
   private JCSequentialPolicy(
     final List<Rule> in_class_rules,
     final List<Rule> in_resource_rules,
     final JCRuleConclusion in_class_default,
     final JCRuleConclusion in_resource_default)
   {
     this.class_rules = NullCheck.notNull(in_class_rules);
     this.resource_rules = NullCheck.notNull(in_resource_rules);
     this.class_default = NullCheck.notNull(in_class_default);
     this.resource_default = NullCheck.notNull(in_resource_default);
   }
 
   @Override public boolean policyAllowsClass(
     final String name)
   {
     NullCheck.notNull(name);
 
     final JCRuleConclusion current_conclusion = JCSequentialPolicy.checkRules(
       "class", name, this.class_default, this.class_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 
   @Override public boolean policyAllowsResource(
     final String name)
   {
     NullCheck.notNull(name);
 
     final JCRuleConclusion current_conclusion = JCSequentialPolicy.checkRules(
       "resource", name, this.resource_default, this.resource_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 }

commit 82ae84a93906ce9aceb5b3cf5b38e4299e0776f3
Author: Mark Raynsford <code@io7m.com>
Date:   Fri Aug 5 19:40:28 2016 +0000

    Remove .idea

diff --git a/.idea/.name b/.idea/.name
deleted file mode 100644
index 9d7ab37..0000000
--- a/.idea/.name
+++ /dev/null
@@ -1 +0,0 @@
-io7m-jcage
\ No newline at end of file
diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml
deleted file mode 100644
index 32935fd..0000000
--- a/.idea/checkstyle-idea.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="CheckStyle-IDEA">
-    <option name="configuration">
-      <map>
-        <entry key="active-configuration" value="PROJECT_RELATIVE:$PRJ_DIR$/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml:io7m-jcage" />
-        <entry key="check-nonjava-files" value="false" />
-        <entry key="check-test-classes" value="false" />
-        <entry key="location-0" value="CLASSPATH:/sun_checks.xml:The default Checkstyle rules" />
-        <entry key="location-1" value="PROJECT_RELATIVE:$PRJ_DIR$/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml:io7m-jcage" />
-        <entry key="suppress-errors" value="false" />
-        <entry key="thirdparty-classpath" value="" />
-      </map>
-    </option>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml
deleted file mode 100644
index e7bedf3..0000000
--- a/.idea/copyright/profiles_settings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<component name="CopyrightManager">
-  <settings default="" />
-</component>
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index 84b5da5..0000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Encoding">
-    <file url="file://$PROJECT_DIR$" charset="UTF-8" />
-    <file url="file://$PROJECT_DIR$/io7m-jcage-checkstyle" charset="UTF-8" />
-    <file url="file://$PROJECT_DIR$/io7m-jcage-core" charset="UTF-8" />
-    <file url="file://$PROJECT_DIR$/io7m-jcage-documentation" charset="UTF-8" />
-    <file url="file://$PROJECT_DIR$/io7m-jcage-examples" charset="UTF-8" />
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
deleted file mode 100644
index 826184e..0000000
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<component name="InspectionProjectProfileManager">
-  <profile version="1.0">
-    <option name="myName" value="Project Default" />
-    <inspection_tool class="FieldMayBeFinal" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="FinalMethodInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="ForCanBeForeach" enabled="false" level="WARNING" enabled_by_default="false">
-      <option name="REPORT_INDEXED_LOOP" value="true" />
-      <option name="ignoreUntypedCollections" value="false" />
-    </inspection_tool>
-    <inspection_tool class="GrFinalVariableAccess" enabled="false" level="WARNING" enabled_by_default="false" />
-    <inspection_tool class="GrMethodMayBeStatic" enabled="false" level="WARNING" enabled_by_default="false" />
-    <inspection_tool class="GroovySynchronizationOnNonFinalField" enabled="false" level="WARNING" enabled_by_default="false" />
-    <inspection_tool class="LocalCanBeFinal" enabled="true" level="WARNING" enabled_by_default="true">
-      <option name="REPORT_VARIABLES" value="true" />
-      <option name="REPORT_PARAMETERS" value="true" />
-    </inspection_tool>
-    <inspection_tool class="LoggerInitializedWithForeignClass" enabled="false" level="WARNING" enabled_by_default="false">
-      <option name="loggerClassName" value="org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger" />
-      <option name="loggerFactoryMethodName" value="getLogger,getLogger,getLog,getLogger" />
-    </inspection_tool>
-    <inspection_tool class="NonFinalFieldInEnum" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="NonFinalUtilityClass" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="OnDemandImport" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="PointlessBooleanExpression" enabled="true" level="WEAK WARNING" enabled_by_default="true">
-      <option name="m_ignoreExpressionsContainingConstants" value="false" />
-    </inspection_tool>
-    <inspection_tool class="ProtectedMemberInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="ReuseOfLocalVariable" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="UnqualifiedFieldAccess" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="UnqualifiedMethodAccess" enabled="true" level="WARNING" enabled_by_default="true" />
-    <inspection_tool class="UnqualifiedStaticUsage" enabled="true" level="WARNING" enabled_by_default="true">
-      <option name="m_ignoreStaticFieldAccesses" value="false" />
-      <option name="m_ignoreStaticMethodCalls" value="false" />
-      <option name="m_ignoreStaticAccessFromStaticContext" value="false" />
-    </inspection_tool>
-  </profile>
-</component>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
deleted file mode 100644
index c60c33b..0000000
--- a/.idea/inspectionProfiles/profiles_settings.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<component name="InspectionProjectProfileManager">
-  <settings>
-    <option name="PROJECT_PROFILE" />
-    <option name="USE_PROJECT_PROFILE" value="false" />
-    <version value="1.0" />
-  </settings>
-</component>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index a63dc9a..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/io7m-jcage.iml" filepath="$PROJECT_DIR$/io7m-jcage.iml" />
-      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml" filepath="$PROJECT_DIR$/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml" />
-      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-core/io7m-jcage-core.iml" filepath="$PROJECT_DIR$/io7m-jcage-core/io7m-jcage-core.iml" />
-      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-documentation/io7m-jcage-documentation.iml" filepath="$PROJECT_DIR$/io7m-jcage-documentation/io7m-jcage-documentation.iml" />
-      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-examples/io7m-jcage-examples.iml" filepath="$PROJECT_DIR$/io7m-jcage-examples/io7m-jcage-examples.iml" />
-    </modules>
-  </component>
-</project>
\ No newline at end of file

commit cf9314cfb5e69ee3972ea61ad5ec3bef36a89222
Author: Mark Raynsford <code@io7m.com>
Date:   Fri Aug 5 19:39:18 2016 +0000

    Remove JDK 7

diff --git a/.travis.yml b/.travis.yml
index b243d26..45e9d6b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,4 +3,2 @@ language: java
 jdk:
   - oraclejdk8
-  - oraclejdk7
-  - openjdk7

commit 5c5d526a7520aea260feac2c89da9552d7761e24
Author: Mark Raynsford <code@io7m.com>
Date:   Fri Aug 5 19:38:37 2016 +0000

    Update to 2016 standards
    
    Reorganize POM files, update dependencies, clean up code.

diff --git a/.gitignore b/.gitignore
index 7e6a26e..19da0cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,13 @@
-*/target
-.idea/libraries
-.idea/workspace.xml
+*.iml
+*.ipr
+*.iws
+.checkstyle
+.classpath
+.fslckout
+.idea
+.project
+.settings
+bin
+out
+pom.xml.versionsBackup
 target
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index 2824818..0000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="CompilerConfiguration">
-    <resourceExtensions />
-    <wildcardResourcePatterns>
-      <entry name="!?*.java" />
-      <entry name="!?*.form" />
-      <entry name="!?*.class" />
-      <entry name="!?*.groovy" />
-      <entry name="!?*.scala" />
-      <entry name="!?*.flex" />
-      <entry name="!?*.kt" />
-      <entry name="!?*.clj" />
-      <entry name="!?*.aj" />
-    </wildcardResourcePatterns>
-    <annotationProcessing>
-      <profile default="true" name="Default" enabled="false">
-        <processorPath useClasspath="true" />
-      </profile>
-      <profile default="false" name="Annotation profile for io7m-jcage-core" enabled="true">
-        <sourceOutputDir name="target/generated-sources/annotations" />
-        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
-        <outputRelativeToContentRoot value="true" />
-        <processorPath useClasspath="true" />
-        <module name="io7m-jcage-core" />
-      </profile>
-      <profile default="false" name="Annotation profile for io7m-jcage-documentation" enabled="true">
-        <sourceOutputDir name="target/generated-sources/annotations" />
-        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
-        <outputRelativeToContentRoot value="true" />
-        <processorPath useClasspath="true" />
-        <module name="io7m-jcage-documentation" />
-      </profile>
-      <profile default="false" name="Annotation profile for io7m-jcage-checkstyle" enabled="true">
-        <sourceOutputDir name="target/generated-sources/annotations" />
-        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
-        <outputRelativeToContentRoot value="true" />
-        <processorPath useClasspath="true" />
-        <module name="io7m-jcage-checkstyle" />
-      </profile>
-      <profile default="false" name="Annotation profile for io7m-jcage-examples" enabled="true">
-        <sourceOutputDir name="target/generated-sources/annotations" />
-        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
-        <outputRelativeToContentRoot value="true" />
-        <processorPath useClasspath="true" />
-        <module name="io7m-jcage-examples" />
-      </profile>
-    </annotationProcessing>
-    <bytecodeTargetLevel>
-      <module name="io7m-jcage" target="1.5" />
-      <module name="io7m-jcage-checkstyle" target="1.7" />
-      <module name="io7m-jcage-core" target="1.7" />
-      <module name="io7m-jcage-documentation" target="1.6" />
-      <module name="io7m-jcage-examples" target="1.7" />
-    </bytecodeTargetLevel>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index cfd6328..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="EntryPointsManager">
-    <entry_points version="2.0" />
-  </component>
-  <component name="MavenProjectsManager">
-    <option name="originalFiles">
-      <list>
-        <option value="$PROJECT_DIR$/pom.xml" />
-      </list>
-    </option>
-  </component>
-  <component name="ProjectInspectionProfilesVisibleTreeState">
-    <entry key="Project Default">
-      <profile-state>
-        <expanded-state>
-          <State>
-            <id />
-          </State>
-          <State>
-            <id>Android Lint</id>
-          </State>
-          <State>
-            <id>Code style issuesJava</id>
-          </State>
-          <State>
-            <id>Control FlowGroovy</id>
-          </State>
-          <State>
-            <id>Control flow issuesJava</id>
-          </State>
-          <State>
-            <id>Data flow issuesGroovy</id>
-          </State>
-          <State>
-            <id>Data flow issuesJava</id>
-          </State>
-          <State>
-            <id>Error handlingJava</id>
-          </State>
-          <State>
-            <id>Groovy</id>
-          </State>
-          <State>
-            <id>Java</id>
-          </State>
-          <State>
-            <id>Numeric issuesJava</id>
-          </State>
-          <State>
-            <id>Probable bugsJava</id>
-          </State>
-        </expanded-state>
-        <selected-state>
-          <State>
-            <id>ReuseOfLocalVariable</id>
-          </State>
-        </selected-state>
-      </profile-state>
-    </entry>
-  </component>
-  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
-    <OptionsSetting value="true" id="Add" />
-    <OptionsSetting value="true" id="Remove" />
-    <OptionsSetting value="true" id="Checkout" />
-    <OptionsSetting value="true" id="Update" />
-    <OptionsSetting value="true" id="Status" />
-    <OptionsSetting value="true" id="Edit" />
-    <ConfirmationsSetting value="0" id="Add" />
-    <ConfirmationsSetting value="0" id="Remove" />
-  </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="java-8-openjdk" project-jdk-type="JavaSDK">
-    <output url="file://$PROJECT_DIR$/classes" />
-  </component>
-  <component name="masterDetails">
-    <states>
-      <state key="ProjectJDKs.UI">
-        <settings>
-          <last-edited>java-7-openjdk</last-edited>
-          <splitter-proportions>
-            <option name="proportions">
-              <list>
-                <option value="0.2" />
-              </list>
-            </option>
-          </splitter-proportions>
-        </settings>
-      </state>
-    </states>
-  </component>
-</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 6564d52..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="" vcs="" />
-  </component>
-</project>
\ No newline at end of file
diff --git a/README-CHANGES.xml b/README-CHANGES.xml
index b4ffebb..b34578f 100644
--- a/README-CHANGES.xml
+++ b/README-CHANGES.xml
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <c:changelog xmlns:c="http://schemas.io7m.com/changelog/2.0.0">
   <c:project>io7m-jcage</c:project>
 
   <c:release c:ticket-system="com.github.io7m.jcage">
-    <c:date>2015-08-22</c:date>
-    <c:version>1.0.0</c:version>
+    <c:date>2016-08-05</c:date>
+    <c:version>0.1.0</c:version>
     <c:item>
-      <c:date>2015-08-22</c:date>
+      <c:date>2016-08-05</c:date>
       <c:type-code-new/>
       <c:summary>Initial release.</c:summary>
     </c:item>
   </c:release>
 
   <c:ticket-system xml:id="com.github.io7m.jcage">
     <c:ticket-url>http://github.com/io7m/jcage/issues/</c:ticket-url>
   </c:ticket-system>
 
 </c:changelog>
 
diff --git a/README-VERSION.txt b/README-VERSION.txt
deleted file mode 100644
index 0edd700..0000000
--- a/README-VERSION.txt
+++ /dev/null
@@ -1 +0,0 @@
-io7m-jcage 1.0.0
diff --git a/README.md b/README.md
index 091ec6c..8ac74c1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-io7m-jcage
-==========
+jcage
+===
 
 [![Build Status](https://travis-ci.org/io7m/jcage.svg?branch=master)](https://travis-ci.org/io7m/jcage)
diff --git a/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml b/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml
deleted file mode 100644
index c88bf1f..0000000
--- a/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/target/classes" />
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>
\ No newline at end of file
diff --git a/io7m-jcage-checkstyle/pom.xml b/io7m-jcage-checkstyle/pom.xml
index 06ec6bb..558ce94 100644
--- a/io7m-jcage-checkstyle/pom.xml
+++ b/io7m-jcage-checkstyle/pom.xml
@@ -1,113 +1,33 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>1.0.0</version>
+    <version>0.1.0</version>
   </parent>
   <artifactId>io7m-jcage-checkstyle</artifactId>
 
   <packaging>jar</packaging>
+  <name>io7m-jcage-checkstyle</name>
   <description>Run-time configurable JVM sandboxing (Checkstyle policy)</description>
-  <url>http://io7m.github.io/jcage</url>
-  <name>${project.artifactId}</name>
+  <url>http://io7m.github.io/jcage/</url>
 
   <scm>
     <url>${project.parent.scm.url}</url>
     <connection>${project.parent.scm.connection}</connection>
     <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
   <dependencies>
+    <dependency>
+      <groupId>com.io7m.jnull</groupId>
+      <artifactId>io7m-jnull-core</artifactId>
+    </dependency>
   </dependencies>
 
-  <build>
-    <plugins>
-      <!-- Produce custom manifest in jar files -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifestEntries>
-              <Specification-Title>${project.name}</Specification-Title>
-              <Specification-Version>${project.version}</Specification-Version>
-              <Specification-Vendor>io7m.com</Specification-Vendor>
-              <Implementation-Title>${project.name}</Implementation-Title>
-              <Implementation-Version>${project.version}</Implementation-Version>
-              <Implementation-Vendor>io7m.com</Implementation-Vendor>
-              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-              <Built-By>io7m</Built-By>
-              <Sealed>true</Sealed>
-            </manifestEntries>
-          </archive>
-        </configuration>
-      </plugin>
-
-      <!-- Create source jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>jar-no-fork</goal>
-              <goal>test-jar-no-fork</goal>
-            </goals>
-            <configuration>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Create javadoc jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-javadocs</id>
-            <phase>package</phase>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-            <configuration>
-              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>
diff --git a/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml b/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml
index b1f28f7..3e67d4b 100644
--- a/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml
+++ b/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml
@@ -1,232 +1,231 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE module PUBLIC
   "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
   "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
 
 <module name="Checker">
   <property name="severity" value="error"/>
 
   <!-- Allow control of Javadoc checks with CHECKSTYLE_JAVADOC:ON and CHECKSTYLE_JAVADOC:OFF -->
   <module name="SuppressionCommentFilter">
     <property name="onCommentFormat" value="CHECKSTYLE_JAVADOC:ON"/>
     <property name="offCommentFormat" value="CHECKSTYLE_JAVADOC:OFF"/>
     <property name="checkFormat" value="Javadoc.*"/>
   </module>
 
   <!-- Allow control of spacing checks with CHECKSTYLE_SPACE:ON and CHECKSTYLE_SPACE:OFF -->
   <module name="SuppressionCommentFilter">
     <property name="onCommentFormat" value="CHECKSTYLE_SPACE:ON"/>
     <property name="offCommentFormat" value="CHECKSTYLE_SPACE:OFF"/>
     <property name="checkFormat" value="NoWhitespaceAfter"/>
   </module>
 
   <!-- Allow control of all checks with CHECKSTYLE:ON and CHECKSTYLE:OFF -->
   <module name="SuppressionCommentFilter">
     <property name="onCommentFormat" value="CHECKSTYLE:ON"/>
     <property name="offCommentFormat" value="CHECKSTYLE:OFF"/>
     <property name="checkFormat" value=".*"/>
   </module>
 
   <module name="TreeWalker">
     <!-- Required to use the SuppressionCommentFilter above -->
     <module name="FileContentsHolder"/>
 
     <!--
     <module name="AbstractClassName"/>
     <module name="AnnotationUseStyle"/>
     -->
 
     <!-- Require that anonymous inner classes are less than 150 lines. -->
     <module name="AnonInnerLength">
       <property name="max" value="150"/>
     </module>
 
     <module name="ArrayTrailingComma"/>
     <module name="ArrayTypeStyle"/>
     <!--
     <module name="AvoidInlineConditionals"/>
     <module name="AvoidNestedBlocks"/>
     -->
     <module name="AvoidStarImport"/>
     <module name="AvoidStaticImport"/>
     <module name="BooleanExpressionComplexity"/>
     <module name="ClassDataAbstractionCoupling">
       <property name="max" value="35"/>
     </module>
     <module name="ClassFanOutComplexity">
       <property name="max" value="125"/>
     </module>
     <module name="ClassTypeParameterName"/>
     <module name="ConstantName"/>
     <module name="CovariantEquals"/>
     <module name="CyclomaticComplexity">
       <property name="max" value="70"/>
     </module>
     <!--
     <module name="DeclarationOrder"/>
     -->
     <module name="DefaultComesLast"/>
     <module name="DescendantToken"/>
     <module name="DesignForExtension"/>
 
     <!-- Require that empty blocks contain either a statement or -->
     <!-- an explanatory comment. -->
     <module name="EmptyBlock">
       <property name="option" value="text"/>
     </module>
 
     <module name="EmptyForInitializerPad"/>
     <module name="EmptyForIteratorPad"/>
     <module name="EmptyStatement"/>
     <module name="EqualsAvoidNull"/>
     <module name="EqualsHashCode"/>
     <module name="ExecutableStatementCount">
       <property name="max" value="200"/>
     </module>
     <module name="ExplicitInitialization"/>
     <module name="FallThrough"/>
     <module name="FinalClass"/>
     <module name="FinalLocalVariable"/>
     <module name="FinalParameters"/>
     <module name="GenericWhitespace"/>
     <module name="HiddenField"/>
     <module name="HideUtilityClassConstructor"/>
     <!-- <module name="IllegalCatch"/> -->
     <module name="IllegalImport"/>
     <module name="IllegalInstantiation"/>
     <module name="IllegalThrows"/>
     <module name="IllegalToken">
       <property name="tokens" value="POST_INC,POST_DEC"/>
     </module>
     <module name="IllegalTokenText"/>
     <!-- <module name="IllegalType"/> -->
     <!-- <module name="ImportControl"/> -->
     <!-- <module name="ImportOrder"/> -->
     <!-- <module name="Indentation"/> -->
     <module name="InnerAssignment"/>
     <!-- <module name="InnerTypeLast"/> -->
     <module name="InterfaceIsType"/>
     <module name="JavaNCSS">
       <property name="methodMaximum" value="270"/>
     </module>
     <module name="JavadocMethod">
       <property name="scope" value="public"/>
     </module>
     <module name="JavadocType">
       <property name="scope" value="public"/>
     </module>
     <module name="JavadocVariable">
       <property name="scope" value="public"/>
     </module>
     <!-- <module name="LeftCurly"/> -->
     <module name="LineLength">
       <property name="max" value="180"/>
     </module>
     <module name="LocalFinalVariableName">
       <property name="format" value="^([a-z][a-z0-9_]*|_)$"/>
     </module>
     <module name="LocalVariableName">
       <property name="format" value="^([a-z][a-z0-9_]*|_)$"/>
     </module>
     <!-- <module name="MagicNumber"/> -->
     <module name="MemberName">
       <property name="format" value="^[a-z][a-z0-9_]*$"/>
     </module>
     <module name="MethodCount">
       <property name="maxPublic" value="250"/>
       <property name="maxTotal" value="250"/>
       <property name="maxPackage" value="250"/>
     </module>
     <module name="MethodName">
       <property name="format" value="^[a-z][A-Za-z0-9_]*$"/>
     </module>
     <module name="MethodParamPad"/>
     <module name="MethodTypeParameterName">
       <property name="format" value="^[A-Z][A-Z0-9]*$"/>
     </module>
     <module name="MissingCtor"/>
     <module name="MissingDeprecated"/>
     <module name="MissingOverride"/>
     <!-- <module name="MissingSwitchDefault"/> -->
     <module name="ModifiedControlVariable"/>
     <!-- <module name="ModifierOrder"/> -->
     <!-- <module name="MultipleStringLiterals"/> -->
     <module name="MultipleVariableDeclarations"/>
     <module name="MutableException"/>
     <module name="NPathComplexity"/>
     <module name="NeedBraces"/>
     <module name="NestedForDepth">
       <property name="max" value="2"/>
     </module>
     <module name="NestedIfDepth">
       <property name="max" value="2"/>
     </module>
     <module name="NestedTryDepth">
       <property name="max" value="3"/>
     </module>
     <module name="NoClone"/>
     <module name="NoFinalizer"/>
     <module name="NoWhitespaceAfter"/>
     <module name="NoWhitespaceBefore"/>
     <module name="OneStatementPerLine"/>
     <module name="OperatorWrap"/>
     <module name="OuterTypeFilename"/>
     <module name="OuterTypeNumber"/>
     <module name="PackageAnnotation"/>
     <module name="PackageDeclaration"/>
     <module name="PackageName"/>
     <module name="ParameterAssignment"/>
     <module name="ParameterName">
       <property name="format" value="^([a-z][a-z0-9_]*|_)$"/>
     </module>
     <module name="ParameterNumber">
       <property name="max" value="10"/>
     </module>
     <module name="ParenPad"/>
     <module name="RedundantImport"/>
     <module name="RedundantModifier"/>
-    <!--<module name="RedundantThrows"/>-->
     <module name="RequireThis"/>
-    <!--<module name="SimplifyBooleanExpression"/>-->
+    <module name="SimplifyBooleanExpression"/>
     <module name="SimplifyBooleanReturn"/>
     <module name="StaticVariableName">
       <property name="format" value="^[A-Z][_A-Z0-9]*$"/>
     </module>
     <module name="StringLiteralEquality"/>
     <module name="TrailingComment"/>
 
     <!-- Restrict class names -->
     <module name="TypeName">
       <property name="format" value="^[A-Z][a-zA-Z0-9_]*$"/>
       <property name="tokens" value="CLASS_DEF"/>
     </module>
 
     <!-- Restrict interface type names -->
     <module name="TypeName">
       <property name="format" value="^[A-Z][a-zA-Z0-9_]*(Kind|Type)$"/>
       <property name="tokens" value="INTERFACE_DEF"/>
     </module>
 
     <module name="TypecastParenPad"/>
 
     <module name="UncommentedMain">
       <property name="excludedClasses" value="Main$"/>
     </module>
 
     <module name="UnusedImports"/>
     <module name="UpperEll"/>
     <module name="VisibilityModifier"/>
     <module name="WhitespaceAfter"/>
     <module name="WhitespaceAround"/>
   </module>
 
   <module name="FileLength">
     <property name="max" value="1000"/>
   </module>
 
   <module name="FileTabCharacter"/>
   <module name="JavadocPackage"/>
   <module name="NewlineAtEndOfFile"/>
   <!-- <module name="StrictDuplicateCode"/> -->
 
 </module>
diff --git a/io7m-jcage-checkstyle/src/site/site.xml b/io7m-jcage-checkstyle/src/site/site.xml
index ad01ebf..e687374 100644
--- a/io7m-jcage-checkstyle/src/site/site.xml
+++ b/io7m-jcage-checkstyle/src/site/site.xml
@@ -1,20 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
 
   <body>
     <menu name="Project">
       <item name="Overview" href="index.html"/>
       <item name="Releases" href="releases.html"/>
       <item name="Documentation" href="releases.html#Documentation"/>
       <item name="Changes" href="changes.html"/>
       <item name="Sources" href="source-repository.html"/>
       <item name="License" href="license.html"/>
       <item name="Issues" href="issue-tracking.html"/>
       <item name="Contacts" href="team-list.html"/>
+      <item name="Dependencies" href="dependencies.html"/>
       <item name="Metadata" href="project-info.html"/>
+      <item name="Reports" href="project-reports.html"/>
     </menu>
     <menu name="Parent" ref="parent"/>
     <menu name="Modules" ref="modules"/>
   </body>
 
 </project>
diff --git a/io7m-jcage-core/io7m-jcage-core.iml b/io7m-jcage-core/io7m-jcage-core.iml
deleted file mode 100644
index 1390d24..0000000
--- a/io7m-jcage-core/io7m-jcage-core.iml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/target/classes" />
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="library" name="Maven: com.io7m.jnull:io7m-jnull-core:1.0.1" level="project" />
-    <orderEntry type="library" name="Maven: com.io7m.junreachable:io7m-junreachable-core:1.0.1" level="project" />
-    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.12" level="project" />
-    <orderEntry type="library" name="Maven: org.valid4j:valid4j:0.4.0" level="project" />
-    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck:0.6" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck-src-generator:0.6" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
-  </component>
-</module>
\ No newline at end of file
diff --git a/io7m-jcage-core/pom.xml b/io7m-jcage-core/pom.xml
index f031ed6..a7b5206 100644
--- a/io7m-jcage-core/pom.xml
+++ b/io7m-jcage-core/pom.xml
@@ -1,199 +1,62 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>1.0.0</version>
+    <version>0.1.0</version>
   </parent>
   <artifactId>io7m-jcage-core</artifactId>
 
   <packaging>jar</packaging>
+  <name>io7m-jcage-core</name>
   <description>Run-time configurable JVM sandboxing (Core)</description>
-  <url>http://io7m.github.io/jcage</url>
-  <name>${project.artifactId}</name>
+  <url>http://io7m.github.io/jcage/</url>
 
   <scm>
     <url>${project.parent.scm.url}</url>
     <connection>${project.parent.scm.connection}</connection>
     <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
   <dependencies>
     <dependency>
       <groupId>com.io7m.jnull</groupId>
       <artifactId>io7m-jnull-core</artifactId>
-      <version>[1.0.0, 2.0.0)</version>
     </dependency>
     <dependency>
       <groupId>com.io7m.junreachable</groupId>
       <artifactId>io7m-junreachable-core</artifactId>
-      <version>[1.0.0, 2.0.0)</version>
     </dependency>
 
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
-      <version>1.7.12</version>
     </dependency>
     <dependency>
       <groupId>org.valid4j</groupId>
       <artifactId>valid4j</artifactId>
-      <version>0.4.0</version>
     </dependency>
 
-    <!--  Test suite -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
-      <version>4.11</version>
-    </dependency>
-    <dependency>
-      <groupId>net.java</groupId>
-      <artifactId>quickcheck</artifactId>
-      <version>0.6</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-core</artifactId>
-      <version>1.1.3</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <version>1.1.3</version>
-      <scope>test</scope>
     </dependency>
   </dependencies>
 
   <build>
     <plugins>
-      <!-- Redirect test output -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.18.1</version>
-        <configuration>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-        </configuration>
-      </plugin>
-
       <!-- Check style -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>io7m-jcage-checkstyle</artifactId>
-            <version>${project.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>validate</id>
-            <phase>validate</phase>
-            <configuration>
-              <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml
-              </configLocation>
-              <encoding>UTF-8</encoding>
-              <consoleOutput>true</consoleOutput>
-              <failsOnError>true</failsOnError>
-            </configuration>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Produce custom manifest in jar files -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifestEntries>
-              <Specification-Title>${project.name}</Specification-Title>
-              <Specification-Version>${project.version}</Specification-Version>
-              <Specification-Vendor>io7m.com</Specification-Vendor>
-              <Implementation-Title>${project.name}</Implementation-Title>
-              <Implementation-Version>${project.version}</Implementation-Version>
-              <Implementation-Vendor>io7m.com</Implementation-Vendor>
-              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-              <Built-By>io7m</Built-By>
-              <Sealed>true</Sealed>
-            </manifestEntries>
-          </archive>
-        </configuration>
-      </plugin>
-
-      <!-- Create source jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>jar-no-fork</goal>
-              <goal>test-jar-no-fork</goal>
-            </goals>
-            <configuration>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Create javadoc jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-javadocs</id>
-            <phase>package</phase>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-            <configuration>
-              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
       </plugin>
     </plugins>
   </build>
 
 </project>
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
index 89b3962..627684b 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
@@ -41,118 +41,131 @@ import java.util.concurrent.ConcurrentHashMap;
 public final class JCPolicy extends Policy
 {
   private final Map<URL, Permissions> sandboxes;
-  private       Permissions           permissions_default;
+  private Permissions permissions_default;
 
   JCPolicy()
   {
     this.sandboxes = new ConcurrentHashMap<URL, Permissions>();
     final Permissions q = new Permissions();
     q.add(new AllPermission());
     q.setReadOnly();
     this.permissions_default = q;
   }
 
-  @Override public @Nullable Provider getProvider()
+  @Override
+  public
+  @Nullable
+  Provider getProvider()
   {
     return null;
   }
 
-  @Override public void refresh()
+  @Override
+  public void refresh()
   {
     // Nothing
   }
 
-  @Override public PermissionCollection getPermissions(
+  @Override
+  public PermissionCollection getPermissions(
     final @Nullable CodeSource codesource)
   {
     throw new UnsupportedOperationException();
   }
 
-  @Override public PermissionCollection getPermissions(
+  @Override
+  public PermissionCollection getPermissions(
     final @Nullable ProtectionDomain domain)
   {
     throw new UnsupportedOperationException();
   }
 
-  @Override public @Nullable String getType()
+  @Override
+  public
+  @Nullable
+  String getType()
   {
     return null;
   }
 
-  @Override public @Nullable Parameters getParameters()
+  @Override
+  public
+  @Nullable
+  Parameters getParameters()
   {
     return null;
   }
 
-  @Override public boolean implies(
+  @Override
+  public boolean implies(
     final @Nullable ProtectionDomain in_domain,
     final @Nullable Permission in_permission)
   {
     final ProtectionDomain domain = NullCheck.notNull(in_domain);
     final Permission permission = NullCheck.notNull(in_permission);
     final CodeSource source = domain.getCodeSource();
 
     final Permissions box_perms = this.sandboxes.get(source.getLocation());
     if (box_perms != null) {
       return box_perms.implies(permission);
     }
 
     return this.permissions_default.implies(permission);
   }
 
   /**
    * Set the default (non-sandboxed) permissions.
    *
    * @param p The permissions
    */
 
   public void setDefaultPermissions(
     final Permissions p)
   {
     NullCheck.notNull(p);
 
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       final JCSandboxAdminPermission rp =
         new JCSandboxAdminPermission("*", "setDefaultPermissions");
       sm.checkPermission(rp);
     }
 
     final Permissions q = new Permissions();
     final Enumeration<Permission> pe = p.elements();
     while (pe.hasMoreElements()) {
       q.add(pe.nextElement());
     }
     q.setReadOnly();
     this.permissions_default = q;
   }
 
   /**
    * Set the permissions for the given sandbox.
    *
    * @param name The sandbox name
    * @param p    The permissions
    */
 
   public void putSandboxPermissions(
     final URL name,
     final Permissions p)
   {
     NullCheck.notNull(name);
     NullCheck.notNull(p);
 
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       final JCSandboxAdminPermission rp =
         new JCSandboxAdminPermission(name.toString(), "setSandboxPermissions");
       sm.checkPermission(rp);
     }
 
     Assertive.require(
-      this.sandboxes.containsKey(name) == false,
+      !this.sandboxes.containsKey(name),
       "Sandbox does not already exist with URL '%s'",
       name);
 
     this.sandboxes.put(name, p);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
index 8f761ff..c8d0e84 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
@@ -31,5 +31,6 @@ import java.util.HashMap;
 import java.util.Map;
+import java.util.Objects;
 
 /**
  * The default implementation of the {@link JCSandboxesType} interface.
  */
@@ -37,204 +38,204 @@ import java.util.Map;
 public final class JCSandboxes implements JCSandboxesType
 {
   private static final Logger            LOG;
   private static final JCPolicy          POLICY;
   private static final JCSandboxesType   SANDBOXES;
   private static final JCSecurityManager SECURITY_MANAGER;
 
   static {
     SECURITY_MANAGER = new JCSecurityManager();
     POLICY = new JCPolicy();
     LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSandboxes.class));
     SANDBOXES = new JCSandboxes();
   }
 
   private final Map<String, JCSandboxType> sandboxes;
 
   private JCSandboxes()
   {
     this.sandboxes = new HashMap<String, JCSandboxType>();
   }
 
   /**
    * @return A reference to the current sandbox interface
    */
 
   public static JCSandboxesType get()
   {
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       sm.checkPermission(new JCSandboxAdminPermission("*", "getSandboxes"));
     }
 
     JCSandboxes.installSecurityManagerAndPolicy();
     return JCSandboxes.SANDBOXES;
   }
 
   private static void installSecurityManagerAndPolicy()
   {
     final Policy p = Policy.getPolicy();
-    if ((p instanceof JCPolicy) == false) {
+    if (!(p instanceof JCPolicy)) {
       JCSandboxes.LOG.debug("installing policy");
       Policy.setPolicy(JCSandboxes.POLICY);
     }
 
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       Assertive.require(
         sm instanceof JCSecurityManager,
         "Installed security manager must be of type %s",
         JCSecurityManager.class);
     } else {
       JCSandboxes.LOG.debug("installing security manager");
       System.setSecurityManager(JCSandboxes.SECURITY_MANAGER);
     }
   }
 
   /**
    * Set the default global permissions.
    *
    * @param p The set of permissions
    */
 
   public static void setGlobalPermissions(
     final Permissions p)
   {
     JCSandboxes.POLICY.setDefaultPermissions(p);
   }
 
   @Override public JCSandboxType createSandbox(
     final String name,
     final ClassLoader sandbox_host_classloader,
     final JCClassLoaderPolicyType sandbox_host_class_policy,
     final JCClassNameResolverType in_class_resolver,
     final JCClassLoaderPolicyType sandbox_class_policy,
     final Permissions in_p)
     throws JCSandboxException
   {
     NullCheck.notNull(name);
     NullCheck.notNull(sandbox_host_classloader);
     NullCheck.notNull(sandbox_host_class_policy);
     NullCheck.notNull(in_class_resolver);
     NullCheck.notNull(sandbox_class_policy);
     NullCheck.notNull(in_p);
 
     JCSandboxNames.nameCheck(name);
 
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       sm.checkPermission(new JCSandboxAdminPermission(name, "createSandbox"));
     }
 
     synchronized (this.sandboxes) {
       if (this.sandboxes.containsKey(name)) {
         throw new JCSandboxDuplicateException(name);
       }
 
       final Sandbox s = new Sandbox(
         name,
         sandbox_host_classloader,
         sandbox_host_class_policy,
         in_class_resolver,
         sandbox_class_policy,
         in_p);
 
       JCSandboxes.POLICY.putSandboxPermissions(s.getSandboxURL(), in_p);
       this.sandboxes.put(name, s);
       return s;
     }
   }
 
   private static final class Sandbox implements JCSandboxType
   {
     private final JCClassLoader           class_loader;
     private final JCClassNameResolverType class_resolver;
     private final ClassLoader             host_class_loader;
     private final JCClassLoaderPolicyType host_class_policy;
     private final String                  name;
     private final Permissions             permissions;
     private final URI                     uri;
     private final URL                     url;
 
-    public Sandbox(
+    Sandbox(
       final String in_name,
       final ClassLoader in_sandbox_host_classloader,
       final JCClassLoaderPolicyType in_sandbox_host_class_policy,
       final JCClassNameResolverType in_class_resolver,
       final JCClassLoaderPolicyType in_sandbox_class_policy,
       final Permissions in_p)
     {
       try {
         this.name = NullCheck.notNull(in_name);
         this.host_class_loader = NullCheck.notNull(in_sandbox_host_classloader);
         this.host_class_policy =
           NullCheck.notNull(in_sandbox_host_class_policy);
         this.class_resolver = NullCheck.notNull(in_class_resolver);
         this.uri =
           NullCheck.notNull(URI.create("http://jcage-sandbox/" + in_name));
         this.url = NullCheck.notNull(this.uri.toURL());
         this.permissions = NullCheck.notNull(in_p);
         this.class_loader = new JCClassLoader(
           this.host_class_loader,
           this.host_class_policy,
           this.class_resolver,
           in_sandbox_class_policy,
           this.url);
       } catch (final MalformedURLException e) {
         throw new UnreachableCodeException(e);
       }
     }
 
     @Override public JCClassLoader getSandboxClassLoader()
     {
       return this.class_loader;
     }
 
     @Override public Class<?> getSandboxLoadedClass(
       final String in_class_name)
       throws JCSandboxException
     {
       try {
         final String class_name = NullCheck.notNull(in_class_name);
         final Class<?> c = this.class_loader.loadClass(class_name);
 
         final ClassLoader loader = c.getClassLoader();
-        if (loader != this.class_loader) {
+        if (!Objects.equals(loader, this.class_loader)) {
           final StringBuilder sb = new StringBuilder();
           sb.append("Expected a class loaded by the sandbox loader.\n");
           sb.append("  Class:    ");
           sb.append(c);
           sb.append("\n");
           sb.append("  Expected: ");
           sb.append(this.class_loader);
           sb.append("\n");
           sb.append("  Got:      ");
           sb.append(loader);
           sb.append("\n");
           final String m = NullCheck.notNull(sb.toString());
           throw new JCSandboxClassWrongLoaderException(m);
         }
 
         return c;
       } catch (final ClassNotFoundException e) {
         throw new JCSandboxClassMissingException(e);
       } catch (final SecurityException e) {
         throw new JCSandboxSecurityException(e);
       }
     }
 
     @Override public String getSandboxName()
     {
       return this.name;
     }
 
     @Override public Permissions getSandboxPermissions()
     {
       return this.permissions;
     }
 
     @Override public URL getSandboxURL()
     {
       return this.url;
     }
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
index a9c15ca..a3910c0 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
@@ -27,211 +27,211 @@ import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 /**
  * <p>
  * A sequential, pattern-based policy.
  * </p>
  *
  * <p>
  * Incoming class and resource names are matched against a series of
  * <i>rules</i>. A rule specifies a <i>pattern</i> and a <i>conclusion</i>.
  * The <i>current conclusion</i> is initially set to the default value as
  * defined by the policy. If a <i>rule's</i> <i>pattern</i> matches the
  * current name, the <i>current conclusion</i> becomes that of the rule. Rules
  * are evaluated from first to last. If a rule is marked as <i>quick</i>,
  * evaluation of rules stops at that point. When evaluation has completed, the
  * <i>current conclusion</i> is returned and used to determine whether or not
  * access is permitted.
  * </p>
  * <p>
  * This scheme was inspired by the OpenBSD PF firewall.
  * </p>
  *
  * @see <a href="http://www.openbsd.org/faq/pf/filter.html">OpenBSD PF</a>
  */
 
 @SuppressWarnings({ "boxing", "synthetic-access" }) public final class JCSequentialPolicy implements
   JCClassLoaderPolicyType
 {
   private static final class Builder implements JCSequentialPolicyBuilderType
   {
     private final JCRuleConclusion class_default;
     private final List<Rule>       class_rules;
     private final JCRuleConclusion resource_default;
     private final List<Rule>       resource_rules;
 
-    public Builder(
+    Builder(
       final JCRuleConclusion in_class_default,
       final JCRuleConclusion in_resource_default)
     {
       this.class_default = NullCheck.notNull(in_class_default);
       this.resource_default = NullCheck.notNull(in_resource_default);
-      this.class_rules = new ArrayList<JCSequentialPolicy.Rule>();
-      this.resource_rules = new ArrayList<JCSequentialPolicy.Rule>();
+      this.class_rules = new ArrayList<>();
+      this.resource_rules = new ArrayList<>();
     }
 
     @Override public void addClassRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.class_rules.add(new Rule(p, quick, c));
     }
 
     @Override public void addResourceRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.resource_rules.add(new Rule(p, quick, c));
     }
 
     @Override public JCSequentialPolicy build()
     {
       return new JCSequentialPolicy(
         this.class_rules,
         this.resource_rules,
         this.class_default,
         this.resource_default);
     }
   }
 
   private static final class Rule
   {
     private final JCRuleConclusion conclusion;
     private final Pattern pattern;
     private final boolean quick;
 
     Rule(
       final Pattern in_pattern,
       final boolean in_quick,
       final JCRuleConclusion in_conclusion)
     {
       this.pattern = NullCheck.notNull(in_pattern);
       this.quick = in_quick;
       this.conclusion = NullCheck.notNull(in_conclusion);
     }
 
     boolean matches(
       final String name)
     {
       final Matcher m = this.pattern.matcher(name);
       return m.matches();
     }
   }
 
   private static final Logger LOG;
 
   static {
     LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSequentialPolicy.class));
   }
 
   private static JCRuleConclusion checkRules(
     final String type,
     final String name,
     final JCRuleConclusion default_conclusion,
     final List<Rule> rules)
   {
     JCSequentialPolicy.LOG.debug("{} check {}", type, name);
 
     JCRuleConclusion current_conclusion = default_conclusion;
     boolean done = false;
     for (int index = 0; index < rules.size(); ++index) {
       final Rule rule = rules.get(index);
 
       final boolean match = rule.matches(name);
       if (match) {
         current_conclusion = rule.conclusion;
         if (rule.quick) {
           done = true;
         }
       }
 
       JCSequentialPolicy.LOG.debug(
         "rule [{}]: quick:{} pattern:{} match:{} conclusion:{}",
         index,
         rule.quick,
         rule.pattern,
         match,
         rule.conclusion);
 
       if (done) {
         break;
       }
     }
 
     JCSequentialPolicy.LOG.info("class {} {}", current_conclusion, name);
     return current_conclusion;
   }
 
   /**
    * @param class_default
    *          The default conclusion for classes
    * @param resource_default
    *          The default conclusion for resources
    * @return A new policy builder
    */
 
   public static JCSequentialPolicyBuilderType newEmptyPolicyBuilder(
     final JCRuleConclusion class_default,
     final JCRuleConclusion resource_default)
   {
     return new Builder(class_default, resource_default);
   }
 
   private final JCRuleConclusion class_default;
   private final List<Rule>       class_rules;
   private final JCRuleConclusion resource_default;
   private final List<Rule>       resource_rules;
 
   private JCSequentialPolicy(
     final List<Rule> in_class_rules,
     final List<Rule> in_resource_rules,
     final JCRuleConclusion in_class_default,
     final JCRuleConclusion in_resource_default)
   {
     this.class_rules = NullCheck.notNull(in_class_rules);
     this.resource_rules = NullCheck.notNull(in_resource_rules);
     this.class_default = NullCheck.notNull(in_class_default);
     this.resource_default = NullCheck.notNull(in_resource_default);
   }
 
   @Override public boolean policyAllowsClass(
     final String name)
   {
     NullCheck.notNull(name);
 
     final JCRuleConclusion current_conclusion = JCSequentialPolicy.checkRules(
       "class", name, this.class_default, this.class_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 
   @Override public boolean policyAllowsResource(
     final String name)
   {
     NullCheck.notNull(name);
 
     final JCRuleConclusion current_conclusion = JCSequentialPolicy.checkRules(
       "resource", name, this.resource_default, this.resource_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
index cbd9bee..7662bde 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
@@ -1,21 +1,22 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
 /**
  * Core types and functions.
  */
 
 @com.io7m.jnull.NonNullByDefault package com.io7m.jcage.core;
+
diff --git a/io7m-jcage-core/src/site/site.xml b/io7m-jcage-core/src/site/site.xml
index 2e43e13..e687374 100644
--- a/io7m-jcage-core/src/site/site.xml
+++ b/io7m-jcage-core/src/site/site.xml
@@ -1,21 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
 
   <body>
     <menu name="Project">
       <item name="Overview" href="index.html"/>
       <item name="Releases" href="releases.html"/>
       <item name="Documentation" href="releases.html#Documentation"/>
       <item name="Changes" href="changes.html"/>
       <item name="Sources" href="source-repository.html"/>
       <item name="License" href="license.html"/>
       <item name="Issues" href="issue-tracking.html"/>
       <item name="Contacts" href="team-list.html"/>
       <item name="Dependencies" href="dependencies.html"/>
       <item name="Metadata" href="project-info.html"/>
+      <item name="Reports" href="project-reports.html"/>
     </menu>
     <menu name="Parent" ref="parent"/>
     <menu name="Modules" ref="modules"/>
   </body>
 
 </project>
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java
index 9fcbb26..f46c2b3 100644
--- a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java
@@ -23,3 +23,3 @@ import org.junit.Assert;
 import org.junit.Test;
-import org.valid4j.exceptions.RequireViolation;
+import org.valid4j.errors.RequireViolation;
 
diff --git a/io7m-jcage-documentation/io7m-jcage-documentation.iml b/io7m-jcage-documentation/io7m-jcage-documentation.iml
deleted file mode 100644
index 8d7b2d9..0000000
--- a/io7m-jcage-documentation/io7m-jcage-documentation.iml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/target/classes" />
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="io7m-jcage-core" />
-    <orderEntry type="library" name="Maven: com.io7m.jnull:io7m-jnull-core:1.0.1" level="project" />
-    <orderEntry type="library" name="Maven: com.io7m.junreachable:io7m-junreachable-core:1.0.1" level="project" />
-    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.12" level="project" />
-    <orderEntry type="library" name="Maven: org.valid4j:valid4j:0.4.0" level="project" />
-    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
-    <orderEntry type="module" module-name="io7m-jcage-examples" />
-  </component>
-</module>
\ No newline at end of file
diff --git a/io7m-jcage-documentation/pom.xml b/io7m-jcage-documentation/pom.xml
index 1b90783..cdde772 100644
--- a/io7m-jcage-documentation/pom.xml
+++ b/io7m-jcage-documentation/pom.xml
@@ -1,285 +1,190 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>1.0.0</version>
+    <version>0.1.0</version>
   </parent>
   <artifactId>io7m-jcage-documentation</artifactId>
 
   <packaging>jar</packaging>
+  <name>io7m-jcage-documentation</name>
   <description>Run-time configurable JVM sandboxing (Documentation)</description>
-  <url>http://io7m.github.io/jcage</url>
-  <name>${project.artifactId}</name>
+  <url>http://io7m.github.io/jcage/</url>
 
   <scm>
     <url>${project.parent.scm.url}</url>
     <connection>${project.parent.scm.connection}</connection>
     <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
   <dependencies>
     <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>io7m-jcage-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>io7m-jcage-examples</artifactId>
-      <version>${project.version}</version>
+      <groupId>com.io7m.jnull</groupId>
+      <artifactId>io7m-jnull-core</artifactId>
     </dependency>
   </dependencies>
 
   <build>
     <plugins>
-      <!-- Produce custom manifest in jar files -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifestEntries>
-              <Specification-Title>${project.name}</Specification-Title>
-              <Specification-Version>${project.version}</Specification-Version>
-              <Specification-Vendor>io7m.com</Specification-Vendor>
-              <Implementation-Title>${project.name}</Implementation-Title>
-              <Implementation-Version>${project.version}</Implementation-Version>
-              <Implementation-Vendor>io7m.com</Implementation-Vendor>
-              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-              <Built-By>io7m</Built-By>
-              <Sealed>true</Sealed>
-            </manifestEntries>
-          </archive>
-        </configuration>
-      </plugin>
-
-      <!-- Create source jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>jar-no-fork</goal>
-              <goal>test-jar-no-fork</goal>
-            </goals>
-            <configuration>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
       <!-- Copy documentation resources into build directory -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>
           <execution>
             <id>copy-documentation-resources</id>
             <goals>
               <goal>copy-resources</goal>
             </goals>
             <phase>generate-resources</phase>
             <configuration>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <resources>
                 <resource>
                   <directory>src/main/resources/com/io7m/jcage/documentation/</directory>
                   <filtering>true</filtering>
                 </resource>
               </resources>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
-      <!-- Unpack sources into documentation directory -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>unpack-sources</id>
-            <phase>prepare-package</phase>
-            <goals>
-              <goal>unpack</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>${project.groupId}</groupId>
-                  <artifactId>io7m-jcage-core</artifactId>
-                  <classifier>sources</classifier>
-                  <version>${project.version}</version>
-                  <type>jar</type>
-                  <overWrite>true</overWrite>
-                  <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
-                  <includes>**\/*.java</includes>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>${project.groupId}</groupId>
-                  <artifactId>io7m-jcage-examples</artifactId>
-                  <classifier>sources</classifier>
-                  <version>${project.version}</version>
-                  <type>jar</type>
-                  <overWrite>true</overWrite>
-                  <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
-                  <includes>**\/*.java</includes>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
       <!-- Produce documentation -->
       <plugin>
         <groupId>com.io7m.jstructural</groupId>
         <artifactId>io7m-jstructural-maven-plugin</artifactId>
         <executions>
           <execution>
             <id>make-documentation-single</id>
             <phase>prepare-package</phase>
             <goals>
               <goal>transform</goal>
             </goals>
             <configuration>
               <documentFile>${project.build.directory}/documentation/documentation.xml</documentFile>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <brandFile>${project.build.directory}/documentation/brand.xml</brandFile>
               <pagination>XHTML_SINGLE</pagination>
             </configuration>
           </execution>
           <execution>
             <id>make-documentation-multi</id>
             <phase>prepare-package</phase>
             <goals>
               <goal>transform</goal>
             </goals>
             <configuration>
               <documentFile>${project.build.directory}/documentation/documentation.xml</documentFile>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <brandFile>${project.build.directory}/documentation/brand.xml</brandFile>
               <pagination>XHTML_MULTI</pagination>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Javadoc handling -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <executions>
           <!-- Produce javadoc jar for Central -->
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
           <!-- Produce aggregate dependency javadocs -->
           <execution>
             <id>javadoc-aggregate</id>
             <phase>package</phase>
             <goals>
-              <goal>javadoc</goal>
+              <goal>javadoc-no-fork</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
               <includeDependencySources>true</includeDependencySources>
               <includeTransitiveDependencySources>true</includeTransitiveDependencySources>
               <dependencySourceIncludes>
                 <dependencySourceSet>com.io7m.jcage*</dependencySourceSet>
               </dependencySourceIncludes>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce documentation archive -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptors>
             <descriptor>src/main/assembly/documentation.xml</descriptor>
           </descriptors>
         </configuration>
         <executions>
           <execution>
             <id>make-assembly</id>
             <phase>package</phase>
             <goals>
               <goal>single</goal>
             </goals>
             <configuration>
               <appendAssemblyId>false</appendAssemblyId>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Unpack the documentation archive to the parent's generated site staging directory. -->
       <!-- This is arguably abusive, but there appears to be no other way to achieve it. -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>truezip-maven-plugin</artifactId>
         <inherited>false</inherited>
         <executions>
           <execution>
             <id>copy-site-documentation</id>
             <goals>
               <goal>copy</goal>
             </goals>
             <phase>site</phase>
             <configuration>
               <verbose>true</verbose>
               <fileset>
                 <directory>${project.build.directory}/${project.name}-${project.version}.zip/${project.name}-${project.version}/</directory>
                 <outputDirectory>${project.parent.build.directory}/staging/documentation/</outputDirectory>
               </fileset>
             </configuration>
           </execution>
         </executions>
       </plugin>
     </plugins>
   </build>
 
 </project>
diff --git a/io7m-jcage-documentation/src/main/assembly/documentation.xml b/io7m-jcage-documentation/src/main/assembly/documentation.xml
index 0b5d459..b888871 100644
--- a/io7m-jcage-documentation/src/main/assembly/documentation.xml
+++ b/io7m-jcage-documentation/src/main/assembly/documentation.xml
@@ -1,21 +1,20 @@
 <assembly
   xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
   <id>documentation</id>
   <baseDirectory>${project.name}-${project.version}</baseDirectory>
   <formats>
     <format>zip</format>
   </formats>
   <fileSets>
     <fileSet>
       <directory>${project.build.directory}/documentation</directory>
       <outputDirectory>/</outputDirectory>
     </fileSet>
     <fileSet>
       <directory>${project.build.directory}/site/apidocs</directory>
       <outputDirectory>/apidocs</outputDirectory>
     </fileSet>
   </fileSets>
 </assembly>
-
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
index 95a61a5..7f1c6e1 100644
--- a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
+++ b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
@@ -1,15 +1,15 @@
 /*
- * Copyright © 2014 <code@io7m.com> http://io7m.com
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
@@ -18,8 +18,4 @@ package com.io7m.jcage.documentation;
 
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.net.URL;
-
 /**
- * Functions for retrieving the documentation.
+ * Marker class for looking up files by resource.
  */
@@ -27,25 +23,8 @@ import java.net.URL;
 public final class Documentation
 {
   private Documentation()
   {
-    throw new AssertionError("Unreachable code!");
-  }
-
-  /**
-   * @return The resource URL of the documentation
-   */
-
-  public static URI getDocumentationXMLLocation()
-  {
-    try {
-      final URL url = Documentation.class.getResource(
-        "/com/io7m/jcage/documentation/documentation.xml");
-      assert url != null;
-      final URI uri = url.toURI();
-      assert uri != null;
-      return uri;
-    } catch (final URISyntaxException e) {
-      throw new AssertionError(e);
-    }
+    throw new AssertionError("Unreachable code");
   }
 }
+
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java
index 9dc0b71..acaeb27 100644
--- a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java
+++ b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java
@@ -1,22 +1,22 @@
 /*
- * Copyright © 2014 <code@io7m.com> http://io7m.com
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
 /**
  * Documentation.
  */
 
 @com.io7m.jnull.NonNullByDefault package com.io7m.jcage.documentation;
 
diff --git a/io7m-jcage-examples/io7m-jcage-examples.iml b/io7m-jcage-examples/io7m-jcage-examples.iml
deleted file mode 100644
index 38b1889..0000000
--- a/io7m-jcage-examples/io7m-jcage-examples.iml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/target/classes" />
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="io7m-jcage-core" />
-    <orderEntry type="library" name="Maven: com.io7m.jnull:io7m-jnull-core:1.0.1" level="project" />
-    <orderEntry type="library" name="Maven: com.io7m.junreachable:io7m-junreachable-core:1.0.1" level="project" />
-    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.12" level="project" />
-    <orderEntry type="library" name="Maven: org.valid4j:valid4j:0.4.0" level="project" />
-    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck:0.6" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck-src-generator:0.6" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
-    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
-  </component>
-</module>
\ No newline at end of file
diff --git a/io7m-jcage-examples/pom.xml b/io7m-jcage-examples/pom.xml
index cd1dd4f..473194b 100644
--- a/io7m-jcage-examples/pom.xml
+++ b/io7m-jcage-examples/pom.xml
@@ -1,194 +1,65 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>1.0.0</version>
+    <version>0.1.0</version>
   </parent>
   <artifactId>io7m-jcage-examples</artifactId>
 
   <packaging>jar</packaging>
   <description>Run-time configurable JVM sandboxing (Examples)</description>
   <url>http://io7m.github.io/jcage</url>
   <name>${project.artifactId}</name>
 
   <scm>
     <url>${project.parent.scm.url}</url>
     <connection>${project.parent.scm.connection}</connection>
     <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>io7m-jcage-core</artifactId>
       <version>${project.version}</version>
     </dependency>
 
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
-      <version>1.7.12</version>
     </dependency>
     <dependency>
       <groupId>org.valid4j</groupId>
       <artifactId>valid4j</artifactId>
-      <version>0.4.0</version>
     </dependency>
 
     <!--  Test suite -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
-      <version>4.11</version>
     </dependency>
     <dependency>
       <groupId>net.java</groupId>
       <artifactId>quickcheck</artifactId>
-      <version>0.6</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-core</artifactId>
-      <version>1.1.3</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-classic</artifactId>
-      <version>1.1.3</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
 
-  <build>
-    <plugins>
-      <!-- Redirect test output -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.18.1</version>
-        <configuration>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-        </configuration>
-      </plugin>
-
-      <!-- Check style -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>io7m-jcage-checkstyle</artifactId>
-            <version>${project.version}</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>validate</id>
-            <phase>validate</phase>
-            <configuration>
-              <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml
-              </configLocation>
-              <encoding>UTF-8</encoding>
-              <consoleOutput>true</consoleOutput>
-              <failsOnError>true</failsOnError>
-            </configuration>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Produce custom manifest in jar files -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifestEntries>
-              <Specification-Title>${project.name}</Specification-Title>
-              <Specification-Version>${project.version}</Specification-Version>
-              <Specification-Vendor>io7m.com</Specification-Vendor>
-              <Implementation-Title>${project.name}</Implementation-Title>
-              <Implementation-Version>${project.version}</Implementation-Version>
-              <Implementation-Vendor>io7m.com</Implementation-Vendor>
-              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-              <Built-By>io7m</Built-By>
-              <Sealed>true</Sealed>
-            </manifestEntries>
-          </archive>
-        </configuration>
-      </plugin>
-
-      <!-- Create source jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>jar-no-fork</goal>
-              <goal>test-jar-no-fork</goal>
-            </goals>
-            <configuration>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Create javadoc jar -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-javadocs</id>
-            <phase>package</phase>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-            <configuration>
-              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
-              <archive>
-                <manifestEntries>
-                  <Specification-Title>${project.name}</Specification-Title>
-                  <Specification-Version>${project.version}</Specification-Version>
-                  <Specification-Vendor>io7m.com</Specification-Vendor>
-                  <Implementation-Title>${project.name}</Implementation-Title>
-                  <Implementation-Version>${project.version}</Implementation-Version>
-                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
-                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
-                  <Built-By>io7m</Built-By>
-                </manifestEntries>
-              </archive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>
diff --git a/io7m-jcage.iml b/io7m-jcage.iml
deleted file mode 100644
index 66b3d79..0000000
--- a/io7m-jcage.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/target/classes" />
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
-    <content url="file://$MODULE_DIR$">
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index b3ecf7e..beccc4d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,247 +1,460 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
-  <version>1.0.0</version>
+  <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
-  <url>http://io7m.github.io/jcage/</url>
+  <url>http://github.com/io7m/jcage</url>
 
   <modules>
     <module>io7m-jcage-checkstyle</module>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
     <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://io7m.com/license/isc.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>https://github.com/io7m/jcage</url>
     <connection>scm:git:https://github.com/io7m/jcage</connection>
     <developerConnection>scm:git:https://github.com/io7m/jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://github.com/io7m/jcage/issues</url>
     <system>GitHub Issues</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
       <id>GitHub</id>
       <name>GitHub</name>
-      <url>${project.url}</url>
+      <url>http://io7m.github.io/jcage</url>
     </site>
     <repository>
       <id>sonatype-nexus-staging</id>
       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
     </repository>
   </distributionManagement>
 
   <ciManagement>
     <system>Travis CI</system>
     <url>https://travis-ci.org/io7m/jcage</url>
   </ciManagement>
 
   <prerequisites>
-    <maven>2.2.1</maven>
+    <maven>3.0.4</maven>
   </prerequisites>
 
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>com.io7m.jnull</groupId>
+        <artifactId>io7m-jnull-core</artifactId>
+        <version>[1.0.0, 2.0.0)</version>
+      </dependency>
+      <dependency>
+        <groupId>com.io7m.junreachable</groupId>
+        <artifactId>io7m-junreachable-core</artifactId>
+        <version>[1.0.0, 2.0.0)</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.valid4j</groupId>
+        <artifactId>valid4j</artifactId>
+        <version>0.5.0</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>1.7.21</version>
+      </dependency>
+
+      <dependency>
+        <groupId>net.java</groupId>
+        <artifactId>quickcheck</artifactId>
+        <version>0.6</version>
+      </dependency>
+      <dependency>
+        <groupId>ch.qos.logback</groupId>
+        <artifactId>logback-core</artifactId>
+        <version>1.1.7</version>
+      </dependency>
+      <dependency>
+        <groupId>ch.qos.logback</groupId>
+        <artifactId>logback-classic</artifactId>
+        <version>1.1.7</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.12</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.8</version>
+        <version>2.9</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>3.4</version>
+        <version>3.5.1</version>
         <configuration>
           <validate>true</validate>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <version>2.19.1</version>
+      </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
-        <version>2.1.0</version>
+        <version>2.1.2</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <pluginManagement>
       <plugins>
         <!-- Submodule plugin versions -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-clean-plugin</artifactId>
-          <version>2.6.1</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-dependency-plugin</artifactId>
-          <version>2.8</version>
+          <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.8.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-resources-plugin</artifactId>
-          <version>2.7</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.6</version>
+          <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
-          <version>2.4</version>
+          <version>3.0.0</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.10.3</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.18.1</version>
+          <version>2.19.1</version>
+          <configuration>
+            <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          </configuration>
         </plugin>
+
+        <!-- Submodule checkstyle configuration. -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>2.15</version>
+          <version>2.17</version>
+          <dependencies>
+            <dependency>
+              <groupId>${project.groupId}</groupId>
+              <artifactId>io7m-jcage-checkstyle</artifactId>
+              <version>${project.version}</version>
+            </dependency>
+          </dependencies>
+          <executions>
+            <execution>
+              <id>validate</id>
+              <phase>process-sources</phase>
+              <configuration>
+                <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml</configLocation>
+                <encoding>UTF-8</encoding>
+                <consoleOutput>true</consoleOutput>
+                <failsOnError>true</failsOnError>
+                <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+              </configuration>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
         </plugin>
+
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
-          <version>2.5.5</version>
+          <version>2.6</version>
         </plugin>
         <plugin>
           <groupId>com.io7m.jstructural</groupId>
           <artifactId>io7m-jstructural-maven-plugin</artifactId>
           <version>4.2.0</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>truezip-maven-plugin</artifactId>
           <version>1.2</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>3.2.0</version>
+          <extensions>true</extensions>
+        </plugin>
 
-        <!-- Require JDK >= 1.7 -->
+        <!-- Require JDK >= 1.8 -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.3</version>
+          <version>3.5.1</version>
           <configuration>
-            <source>1.7</source>
-            <target>1.7</target>
+            <source>1.8</source>
+            <target>1.8</target>
           </configuration>
         </plugin>
 
+        <!-- Produce jar files -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>3.0.0</version>
+          <executions>
+            <!-- Produce jar file with custom manifest -->
+            <execution>
+              <id>default-jar</id>
+              <configuration>
+                <archive>
+                  <manifestEntries>
+                    <Specification-Title>${project.name}</Specification-Title>
+                    <Specification-Version>${project.version}</Specification-Version>
+                    <Specification-Vendor>io7m.com</Specification-Vendor>
+                    <Implementation-Title>${project.name}</Implementation-Title>
+                    <Implementation-Version>${project.version}</Implementation-Version>
+                    <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                    <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                    <Built-By>io7m</Built-By>
+                    <Sealed>true</Sealed>
+                  </manifestEntries>
+                </archive>
+              </configuration>
+              <goals>
+                <goal>jar</goal>
+              </goals>
+            </execution>
+            <!-- Produce jar file of tests -->
+            <execution>
+              <id>test-jar</id>
+              <goals>
+                <goal>test-jar</goal>
+              </goals>
+              <configuration>
+                <archive>
+                  <manifestEntries>
+                    <Specification-Title>${project.name}</Specification-Title>
+                    <Specification-Version>${project.version}</Specification-Version>
+                    <Specification-Vendor>io7m.com</Specification-Vendor>
+                    <Implementation-Title>${project.name}</Implementation-Title>
+                    <Implementation-Version>${project.version}</Implementation-Version>
+                    <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                    <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                    <Built-By>io7m</Built-By>
+                  </manifestEntries>
+                </archive>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
+
         <!-- Sonatype OSSRH deployment -->
         <plugin>
           <groupId>org.sonatype.plugins</groupId>
           <artifactId>nexus-staging-maven-plugin</artifactId>
-          <version>1.6.5</version>
+          <version>1.6.7</version>
           <extensions>true</extensions>
           <configuration>
             <serverId>sonatype-nexus-staging</serverId>
             <nexusUrl>https://oss.sonatype.org/</nexusUrl>
             <autoReleaseAfterClose>true</autoReleaseAfterClose>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.9</version>
       </extension>
     </extensions>
+
+    <!-- Shared build logic for all submodules -->
+    <plugins>
+
+      <!-- Create source jars -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>jar-no-fork</goal>
+              <goal>test-jar-no-fork</goal>
+            </goals>
+            <configuration>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Create javadoc jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Produce OSGi bundle -->
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>com.io7m.jproperties</Export-Package>
+            <Specification-Title>${project.name}</Specification-Title>
+            <Specification-Version>${project.version}</Specification-Version>
+            <Specification-Vendor>io7m.com</Specification-Vendor>
+            <Implementation-Title>${project.name}</Implementation-Title>
+            <Implementation-Version>${project.version}</Implementation-Version>
+            <Implementation-Vendor>io7m.com</Implementation-Vendor>
+            <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+            <Built-By>io7m</Built-By>
+            <Sealed>true</Sealed>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.6</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
 </project>
diff --git a/src/site/site.xml b/src/site/site.xml
index 62c894f..830b454 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -1,28 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
 
   <body>
     <menu name="Project">
       <item name="Overview" href="index.html"/>
       <item name="Releases" href="releases.html"/>
       <item name="Documentation" href="releases.html#Documentation"/>
       <item name="Changes" href="changes.html"/>
       <item name="Sources" href="source-repository.html"/>
       <item name="License" href="license.html"/>
       <item name="Issues" href="issue-tracking.html"/>
       <item name="Contacts" href="team-list.html"/>
       <item name="Continuous Integration" href="integration.html"/>
       <item name="Metadata" href="project-info.html"/>
       <item name="Reports" href="project-reports.html"/>
     </menu>
     <menu name="Modules" ref="modules"/>
   </body>
 
   <skin>
     <groupId>com.io7m.plain-site-skin</groupId>
     <artifactId>plain-site-skin</artifactId>
-    <version>0.1.0</version>
+    <version>0.1.1</version>
   </skin>
 
 </project>
 

commit d0f405900071f8385694805f41cc5d2851e116a3
Author: Mark Raynsford <code@io7m.com>
Date:   Sun Aug 23 20:48:43 2015 +0000

    Attempt to fix documentation build

diff --git a/io7m-jcage-documentation/pom.xml b/io7m-jcage-documentation/pom.xml
index 92722e8..1b90783 100644
--- a/io7m-jcage-documentation/pom.xml
+++ b/io7m-jcage-documentation/pom.xml
@@ -1,296 +1,285 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
     <version>1.0.0</version>
   </parent>
   <artifactId>io7m-jcage-documentation</artifactId>
 
   <packaging>jar</packaging>
   <description>Run-time configurable JVM sandboxing (Documentation)</description>
   <url>http://io7m.github.io/jcage</url>
   <name>${project.artifactId}</name>
 
   <scm>
     <url>${project.parent.scm.url}</url>
     <connection>${project.parent.scm.connection}</connection>
     <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>io7m-jcage-core</artifactId>
       <version>${project.version}</version>
     </dependency>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>io7m-jcage-examples</artifactId>
       <version>${project.version}</version>
     </dependency>
   </dependencies>
 
   <build>
     <plugins>
-      <!-- Require JDK >= 1.6 -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.3</version>
-        <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
-        </configuration>
-      </plugin>
-
       <!-- Produce custom manifest in jar files -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <archive>
             <manifestEntries>
               <Specification-Title>${project.name}</Specification-Title>
               <Specification-Version>${project.version}</Specification-Version>
               <Specification-Vendor>io7m.com</Specification-Vendor>
               <Implementation-Title>${project.name}</Implementation-Title>
               <Implementation-Version>${project.version}</Implementation-Version>
               <Implementation-Vendor>io7m.com</Implementation-Vendor>
               <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
               <Built-By>io7m</Built-By>
               <Sealed>true</Sealed>
             </manifestEntries>
           </archive>
         </configuration>
       </plugin>
 
       <!-- Create source jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Copy documentation resources into build directory -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>
           <execution>
             <id>copy-documentation-resources</id>
             <goals>
               <goal>copy-resources</goal>
             </goals>
             <phase>generate-resources</phase>
             <configuration>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <resources>
                 <resource>
                   <directory>src/main/resources/com/io7m/jcage/documentation/</directory>
                   <filtering>true</filtering>
                 </resource>
               </resources>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Unpack sources into documentation directory -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
           <execution>
             <id>unpack-sources</id>
-            <phase>generate-sources</phase>
+            <phase>prepare-package</phase>
             <goals>
               <goal>unpack</goal>
             </goals>
             <configuration>
               <artifactItems>
                 <artifactItem>
                   <groupId>${project.groupId}</groupId>
                   <artifactId>io7m-jcage-core</artifactId>
                   <classifier>sources</classifier>
                   <version>${project.version}</version>
                   <type>jar</type>
                   <overWrite>true</overWrite>
                   <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
                   <includes>**\/*.java</includes>
                 </artifactItem>
                 <artifactItem>
                   <groupId>${project.groupId}</groupId>
                   <artifactId>io7m-jcage-examples</artifactId>
                   <classifier>sources</classifier>
                   <version>${project.version}</version>
                   <type>jar</type>
                   <overWrite>true</overWrite>
                   <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
                   <includes>**\/*.java</includes>
                 </artifactItem>
               </artifactItems>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce documentation -->
       <plugin>
         <groupId>com.io7m.jstructural</groupId>
         <artifactId>io7m-jstructural-maven-plugin</artifactId>
         <executions>
           <execution>
             <id>make-documentation-single</id>
             <phase>prepare-package</phase>
             <goals>
               <goal>transform</goal>
             </goals>
             <configuration>
               <documentFile>${project.build.directory}/documentation/documentation.xml</documentFile>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <brandFile>${project.build.directory}/documentation/brand.xml</brandFile>
               <pagination>XHTML_SINGLE</pagination>
             </configuration>
           </execution>
           <execution>
             <id>make-documentation-multi</id>
             <phase>prepare-package</phase>
             <goals>
               <goal>transform</goal>
             </goals>
             <configuration>
               <documentFile>${project.build.directory}/documentation/documentation.xml</documentFile>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <brandFile>${project.build.directory}/documentation/brand.xml</brandFile>
               <pagination>XHTML_MULTI</pagination>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Javadoc handling -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <executions>
           <!-- Produce javadoc jar for Central -->
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
           <!-- Produce aggregate dependency javadocs -->
           <execution>
             <id>javadoc-aggregate</id>
             <phase>package</phase>
             <goals>
               <goal>javadoc</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
               <includeDependencySources>true</includeDependencySources>
               <includeTransitiveDependencySources>true</includeTransitiveDependencySources>
               <dependencySourceIncludes>
                 <dependencySourceSet>com.io7m.jcage*</dependencySourceSet>
               </dependencySourceIncludes>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce documentation archive -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptors>
             <descriptor>src/main/assembly/documentation.xml</descriptor>
           </descriptors>
         </configuration>
         <executions>
           <execution>
             <id>make-assembly</id>
             <phase>package</phase>
             <goals>
               <goal>single</goal>
             </goals>
             <configuration>
               <appendAssemblyId>false</appendAssemblyId>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Unpack the documentation archive to the parent's generated site staging directory. -->
       <!-- This is arguably abusive, but there appears to be no other way to achieve it. -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>truezip-maven-plugin</artifactId>
         <inherited>false</inherited>
         <executions>
           <execution>
             <id>copy-site-documentation</id>
             <goals>
               <goal>copy</goal>
             </goals>
             <phase>site</phase>
             <configuration>
               <verbose>true</verbose>
               <fileset>
                 <directory>${project.build.directory}/${project.name}-${project.version}.zip/${project.name}-${project.version}/</directory>
                 <outputDirectory>${project.parent.build.directory}/staging/documentation/</outputDirectory>
               </fileset>
             </configuration>
           </execution>
         </executions>
       </plugin>
     </plugins>
   </build>
 
 </project>

commit 8bb3ba19db68b29d5138fc6fe85e1ca78b6464c8
Author: Mark Raynsford <code@io7m.com>
Date:   Sun Aug 23 19:07:50 2015 +0000

    Add 2em padding for all tables

diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
index a912a63..f3c0c32 100644
--- a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
@@ -1,66 +1,59 @@
 .brand
 {
   font-size: 75%;
   font-family: monospace;
 }
 
 .brand_left
 {
   float: left;
 }
 
 .brand_right
 {
   text-align: right;
 }
 
 .package
 {
   font-family: monospace;
   font-weight: bold;
 }
 
 .attribute,
 .class,
 .command,
 .constant,
 .element,
 .file,
 .function,
 .keyword,
 .type,
 .variable
 {
   font-family: monospace;
 }
 
 .example, .license, .terminal
 {
   font-family:    monospace;
   border:         1px solid #ccc;
   padding-top:    1.0em;
   padding-left:   1.0em;
   padding-bottom: 1.0em;
   margin-top:     1.2em;
   overflow:       auto;
 }
 
 .dependencies table td
 {
   padding-right: 3.0em;
   font-family:   monospace;
   font-size:     9pt;
 }
 
-.examples table td
+.st200_table td
 {
   padding-right: 2.0em;
   vertical-align: top;
 }
-
-.files table td
-{
-  padding-right: 2.0em;
-  vertical-align: top;
-}
-

commit a2fb5cb27d728fcf617331f8168ce1cd08053d24
Author: Mark Raynsford <code@io7m.com>
Date:   Sun Aug 23 18:43:37 2015 +0000

    Add files table CSS

diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
index 47262f9..a912a63 100644
--- a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
@@ -1,60 +1,66 @@
 .brand
 {
   font-size: 75%;
   font-family: monospace;
 }
 
 .brand_left
 {
   float: left;
 }
 
 .brand_right
 {
   text-align: right;
 }
 
 .package
 {
   font-family: monospace;
   font-weight: bold;
 }
 
 .attribute,
 .class,
 .command,
 .constant,
 .element,
 .file,
 .function,
 .keyword,
 .type,
 .variable
 {
   font-family: monospace;
 }
 
 .example, .license, .terminal
 {
   font-family:    monospace;
   border:         1px solid #ccc;
   padding-top:    1.0em;
   padding-left:   1.0em;
   padding-bottom: 1.0em;
   margin-top:     1.2em;
   overflow:       auto;
 }
 
 .dependencies table td
 {
   padding-right: 3.0em;
   font-family:   monospace;
   font-size:     9pt;
 }
 
 .examples table td
 {
   padding-right: 2.0em;
   vertical-align: top;
 }
 
+.files table td
+{
+  padding-right: 2.0em;
+  vertical-align: top;
+}
+

commit 87a9ae255aee9fc42450dd08dc537bd4d3870e80
Author: Mark Raynsford <code@io7m.com>
Date:   Sun Aug 23 18:38:55 2015 +0000

    Add Travis CI

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b243d26
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,6 @@
+language: java
+
+jdk:
+  - oraclejdk8
+  - oraclejdk7
+  - openjdk7

commit 9f4d1c443e63c22fc4e00c6996cdec57151b74f6
Author: Mark Raynsford <code@io7m.com>
Date:   Sun Aug 23 18:33:51 2015 +0000

    Reorganize project to 2015 standards and document.

diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob
deleted file mode 100644
index c4408b6..0000000
--- a/.fossil-settings/ignore-glob
+++ /dev/null
@@ -1,3 +0,0 @@
-target
-io7m-jcage-*/target
-io7m-jcage-*/bin
diff --git a/.gitignore b/.gitignore
index d42e255..7e6a26e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
-.fslckout
+*/target
+.idea/libraries
+.idea/workspace.xml
+target
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..9d7ab37
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+io7m-jcage
\ No newline at end of file
diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml
new file mode 100644
index 0000000..32935fd
--- /dev/null
+++ b/.idea/checkstyle-idea.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CheckStyle-IDEA">
+    <option name="configuration">
+      <map>
+        <entry key="active-configuration" value="PROJECT_RELATIVE:$PRJ_DIR$/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml:io7m-jcage" />
+        <entry key="check-nonjava-files" value="false" />
+        <entry key="check-test-classes" value="false" />
+        <entry key="location-0" value="CLASSPATH:/sun_checks.xml:The default Checkstyle rules" />
+        <entry key="location-1" value="PROJECT_RELATIVE:$PRJ_DIR$/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml:io7m-jcage" />
+        <entry key="suppress-errors" value="false" />
+        <entry key="thirdparty-classpath" value="" />
+      </map>
+    </option>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..2824818
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CompilerConfiguration">
+    <resourceExtensions />
+    <wildcardResourcePatterns>
+      <entry name="!?*.java" />
+      <entry name="!?*.form" />
+      <entry name="!?*.class" />
+      <entry name="!?*.groovy" />
+      <entry name="!?*.scala" />
+      <entry name="!?*.flex" />
+      <entry name="!?*.kt" />
+      <entry name="!?*.clj" />
+      <entry name="!?*.aj" />
+    </wildcardResourcePatterns>
+    <annotationProcessing>
+      <profile default="true" name="Default" enabled="false">
+        <processorPath useClasspath="true" />
+      </profile>
+      <profile default="false" name="Annotation profile for io7m-jcage-core" enabled="true">
+        <sourceOutputDir name="target/generated-sources/annotations" />
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
+        <outputRelativeToContentRoot value="true" />
+        <processorPath useClasspath="true" />
+        <module name="io7m-jcage-core" />
+      </profile>
+      <profile default="false" name="Annotation profile for io7m-jcage-documentation" enabled="true">
+        <sourceOutputDir name="target/generated-sources/annotations" />
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
+        <outputRelativeToContentRoot value="true" />
+        <processorPath useClasspath="true" />
+        <module name="io7m-jcage-documentation" />
+      </profile>
+      <profile default="false" name="Annotation profile for io7m-jcage-checkstyle" enabled="true">
+        <sourceOutputDir name="target/generated-sources/annotations" />
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
+        <outputRelativeToContentRoot value="true" />
+        <processorPath useClasspath="true" />
+        <module name="io7m-jcage-checkstyle" />
+      </profile>
+      <profile default="false" name="Annotation profile for io7m-jcage-examples" enabled="true">
+        <sourceOutputDir name="target/generated-sources/annotations" />
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
+        <outputRelativeToContentRoot value="true" />
+        <processorPath useClasspath="true" />
+        <module name="io7m-jcage-examples" />
+      </profile>
+    </annotationProcessing>
+    <bytecodeTargetLevel>
+      <module name="io7m-jcage" target="1.5" />
+      <module name="io7m-jcage-checkstyle" target="1.7" />
+      <module name="io7m-jcage-core" target="1.7" />
+      <module name="io7m-jcage-documentation" target="1.6" />
+      <module name="io7m-jcage-examples" target="1.7" />
+    </bytecodeTargetLevel>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml
new file mode 100644
index 0000000..e7bedf3
--- /dev/null
+++ b/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,3 @@
+<component name="CopyrightManager">
+  <settings default="" />
+</component>
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..84b5da5
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding">
+    <file url="file://$PROJECT_DIR$" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/io7m-jcage-checkstyle" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/io7m-jcage-core" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/io7m-jcage-documentation" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/io7m-jcage-examples" charset="UTF-8" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..826184e
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,37 @@
+<component name="InspectionProjectProfileManager">
+  <profile version="1.0">
+    <option name="myName" value="Project Default" />
+    <inspection_tool class="FieldMayBeFinal" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="FinalMethodInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="ForCanBeForeach" enabled="false" level="WARNING" enabled_by_default="false">
+      <option name="REPORT_INDEXED_LOOP" value="true" />
+      <option name="ignoreUntypedCollections" value="false" />
+    </inspection_tool>
+    <inspection_tool class="GrFinalVariableAccess" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="GrMethodMayBeStatic" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="GroovySynchronizationOnNonFinalField" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="LocalCanBeFinal" enabled="true" level="WARNING" enabled_by_default="true">
+      <option name="REPORT_VARIABLES" value="true" />
+      <option name="REPORT_PARAMETERS" value="true" />
+    </inspection_tool>
+    <inspection_tool class="LoggerInitializedWithForeignClass" enabled="false" level="WARNING" enabled_by_default="false">
+      <option name="loggerClassName" value="org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger" />
+      <option name="loggerFactoryMethodName" value="getLogger,getLogger,getLog,getLogger" />
+    </inspection_tool>
+    <inspection_tool class="NonFinalFieldInEnum" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="NonFinalUtilityClass" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="OnDemandImport" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="PointlessBooleanExpression" enabled="true" level="WEAK WARNING" enabled_by_default="true">
+      <option name="m_ignoreExpressionsContainingConstants" value="false" />
+    </inspection_tool>
+    <inspection_tool class="ProtectedMemberInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="ReuseOfLocalVariable" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="UnqualifiedFieldAccess" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="UnqualifiedMethodAccess" enabled="true" level="WARNING" enabled_by_default="true" />
+    <inspection_tool class="UnqualifiedStaticUsage" enabled="true" level="WARNING" enabled_by_default="true">
+      <option name="m_ignoreStaticFieldAccesses" value="false" />
+      <option name="m_ignoreStaticMethodCalls" value="false" />
+      <option name="m_ignoreStaticAccessFromStaticContext" value="false" />
+    </inspection_tool>
+  </profile>
+</component>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..c60c33b
--- /dev/null
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,7 @@
+<component name="InspectionProjectProfileManager">
+  <settings>
+    <option name="PROJECT_PROFILE" />
+    <option name="USE_PROJECT_PROFILE" value="false" />
+    <version value="1.0" />
+  </settings>
+</component>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..cfd6328
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="EntryPointsManager">
+    <entry_points version="2.0" />
+  </component>
+  <component name="MavenProjectsManager">
+    <option name="originalFiles">
+      <list>
+        <option value="$PROJECT_DIR$/pom.xml" />
+      </list>
+    </option>
+  </component>
+  <component name="ProjectInspectionProfilesVisibleTreeState">
+    <entry key="Project Default">
+      <profile-state>
+        <expanded-state>
+          <State>
+            <id />
+          </State>
+          <State>
+            <id>Android Lint</id>
+          </State>
+          <State>
+            <id>Code style issuesJava</id>
+          </State>
+          <State>
+            <id>Control FlowGroovy</id>
+          </State>
+          <State>
+            <id>Control flow issuesJava</id>
+          </State>
+          <State>
+            <id>Data flow issuesGroovy</id>
+          </State>
+          <State>
+            <id>Data flow issuesJava</id>
+          </State>
+          <State>
+            <id>Error handlingJava</id>
+          </State>
+          <State>
+            <id>Groovy</id>
+          </State>
+          <State>
+            <id>Java</id>
+          </State>
+          <State>
+            <id>Numeric issuesJava</id>
+          </State>
+          <State>
+            <id>Probable bugsJava</id>
+          </State>
+        </expanded-state>
+        <selected-state>
+          <State>
+            <id>ReuseOfLocalVariable</id>
+          </State>
+        </selected-state>
+      </profile-state>
+    </entry>
+  </component>
+  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
+    <OptionsSetting value="true" id="Add" />
+    <OptionsSetting value="true" id="Remove" />
+    <OptionsSetting value="true" id="Checkout" />
+    <OptionsSetting value="true" id="Update" />
+    <OptionsSetting value="true" id="Status" />
+    <OptionsSetting value="true" id="Edit" />
+    <ConfirmationsSetting value="0" id="Add" />
+    <ConfirmationsSetting value="0" id="Remove" />
+  </component>
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="java-8-openjdk" project-jdk-type="JavaSDK">
+    <output url="file://$PROJECT_DIR$/classes" />
+  </component>
+  <component name="masterDetails">
+    <states>
+      <state key="ProjectJDKs.UI">
+        <settings>
+          <last-edited>java-7-openjdk</last-edited>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+    </states>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..a63dc9a
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/io7m-jcage.iml" filepath="$PROJECT_DIR$/io7m-jcage.iml" />
+      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml" filepath="$PROJECT_DIR$/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml" />
+      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-core/io7m-jcage-core.iml" filepath="$PROJECT_DIR$/io7m-jcage-core/io7m-jcage-core.iml" />
+      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-documentation/io7m-jcage-documentation.iml" filepath="$PROJECT_DIR$/io7m-jcage-documentation/io7m-jcage-documentation.iml" />
+      <module fileurl="file://$PROJECT_DIR$/io7m-jcage-examples/io7m-jcage-examples.iml" filepath="$PROJECT_DIR$/io7m-jcage-examples/io7m-jcage-examples.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..6564d52
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/README-CHANGES.xml b/README-CHANGES.xml
new file mode 100644
index 0000000..b4ffebb
--- /dev/null
+++ b/README-CHANGES.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<c:changelog xmlns:c="http://schemas.io7m.com/changelog/2.0.0">
+  <c:project>io7m-jcage</c:project>
+
+  <c:release c:ticket-system="com.github.io7m.jcage">
+    <c:date>2015-08-22</c:date>
+    <c:version>1.0.0</c:version>
+    <c:item>
+      <c:date>2015-08-22</c:date>
+      <c:type-code-new/>
+      <c:summary>Initial release.</c:summary>
+    </c:item>
+  </c:release>
+
+  <c:ticket-system xml:id="com.github.io7m.jcage">
+    <c:ticket-url>http://github.com/io7m/jcage/issues/</c:ticket-url>
+  </c:ticket-system>
+
+</c:changelog>
+
diff --git a/io7m-jcage-examples/src/site/xdoc/license.xml b/README-LICENSE.txt
similarity index 59%
rename from io7m-jcage-examples/src/site/xdoc/license.xml
rename to README-LICENSE.txt
index 1a28f59..ae4084d 100644
--- a/io7m-jcage-examples/src/site/xdoc/license.xml
+++ b/README-LICENSE.txt
@@ -1,15 +1,2 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>License</title>
-  </properties>
-
-  <body>
-    <section name="License">
-      <source>
-Copyright © 2015 &lt;code@io7m.com> http://io7m.com
+Copyright © 2015 <code@io7m.com> http://io7m.com
 
@@ -26,6 +13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-      </source>
-    </section>
-  </body>
-
-</document>
diff --git a/README-VERSION.txt b/README-VERSION.txt
new file mode 100644
index 0000000..0edd700
--- /dev/null
+++ b/README-VERSION.txt
@@ -0,0 +1 @@
+io7m-jcage 1.0.0
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..091ec6c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+io7m-jcage
+==========
+
+[![Build Status](https://travis-ci.org/io7m/jcage.svg?branch=master)](https://travis-ci.org/io7m/jcage)
+
+See https://io7m.github.io/jcage/ for more information.
diff --git a/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml b/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml
new file mode 100644
index 0000000..c88bf1f
--- /dev/null
+++ b/io7m-jcage-checkstyle/io7m-jcage-checkstyle.iml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/io7m-jcage-checkstyle/pom.xml b/io7m-jcage-checkstyle/pom.xml
new file mode 100644
index 0000000..06ec6bb
--- /dev/null
+++ b/io7m-jcage-checkstyle/pom.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.io7m.jcage</groupId>
+    <artifactId>io7m-jcage</artifactId>
+    <version>1.0.0</version>
+  </parent>
+  <artifactId>io7m-jcage-checkstyle</artifactId>
+
+  <packaging>jar</packaging>
+  <description>Run-time configurable JVM sandboxing (Checkstyle policy)</description>
+  <url>http://io7m.github.io/jcage</url>
+  <name>${project.artifactId}</name>
+
+  <scm>
+    <url>${project.parent.scm.url}</url>
+    <connection>${project.parent.scm.connection}</connection>
+    <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
+  </scm>
+
+  <dependencies>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <!-- Produce custom manifest in jar files -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>io7m.com</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>io7m.com</Implementation-Vendor>
+              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+              <Built-By>io7m</Built-By>
+              <Sealed>true</Sealed>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+
+      <!-- Create source jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>jar-no-fork</goal>
+              <goal>test-jar-no-fork</goal>
+            </goals>
+            <configuration>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Create javadoc jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml b/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml
new file mode 100644
index 0000000..b1f28f7
--- /dev/null
+++ b/io7m-jcage-checkstyle/src/main/resources/com/io7m/jcage/checkstyle/checkstyle.xml
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC
+  "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
+  "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
+
+<module name="Checker">
+  <property name="severity" value="error"/>
+
+  <!-- Allow control of Javadoc checks with CHECKSTYLE_JAVADOC:ON and CHECKSTYLE_JAVADOC:OFF -->
+  <module name="SuppressionCommentFilter">
+    <property name="onCommentFormat" value="CHECKSTYLE_JAVADOC:ON"/>
+    <property name="offCommentFormat" value="CHECKSTYLE_JAVADOC:OFF"/>
+    <property name="checkFormat" value="Javadoc.*"/>
+  </module>
+
+  <!-- Allow control of spacing checks with CHECKSTYLE_SPACE:ON and CHECKSTYLE_SPACE:OFF -->
+  <module name="SuppressionCommentFilter">
+    <property name="onCommentFormat" value="CHECKSTYLE_SPACE:ON"/>
+    <property name="offCommentFormat" value="CHECKSTYLE_SPACE:OFF"/>
+    <property name="checkFormat" value="NoWhitespaceAfter"/>
+  </module>
+
+  <!-- Allow control of all checks with CHECKSTYLE:ON and CHECKSTYLE:OFF -->
+  <module name="SuppressionCommentFilter">
+    <property name="onCommentFormat" value="CHECKSTYLE:ON"/>
+    <property name="offCommentFormat" value="CHECKSTYLE:OFF"/>
+    <property name="checkFormat" value=".*"/>
+  </module>
+
+  <module name="TreeWalker">
+    <!-- Required to use the SuppressionCommentFilter above -->
+    <module name="FileContentsHolder"/>
+
+    <!--
+    <module name="AbstractClassName"/>
+    <module name="AnnotationUseStyle"/>
+    -->
+
+    <!-- Require that anonymous inner classes are less than 150 lines. -->
+    <module name="AnonInnerLength">
+      <property name="max" value="150"/>
+    </module>
+
+    <module name="ArrayTrailingComma"/>
+    <module name="ArrayTypeStyle"/>
+    <!--
+    <module name="AvoidInlineConditionals"/>
+    <module name="AvoidNestedBlocks"/>
+    -->
+    <module name="AvoidStarImport"/>
+    <module name="AvoidStaticImport"/>
+    <module name="BooleanExpressionComplexity"/>
+    <module name="ClassDataAbstractionCoupling">
+      <property name="max" value="35"/>
+    </module>
+    <module name="ClassFanOutComplexity">
+      <property name="max" value="125"/>
+    </module>
+    <module name="ClassTypeParameterName"/>
+    <module name="ConstantName"/>
+    <module name="CovariantEquals"/>
+    <module name="CyclomaticComplexity">
+      <property name="max" value="70"/>
+    </module>
+    <!--
+    <module name="DeclarationOrder"/>
+    -->
+    <module name="DefaultComesLast"/>
+    <module name="DescendantToken"/>
+    <module name="DesignForExtension"/>
+
+    <!-- Require that empty blocks contain either a statement or -->
+    <!-- an explanatory comment. -->
+    <module name="EmptyBlock">
+      <property name="option" value="text"/>
+    </module>
+
+    <module name="EmptyForInitializerPad"/>
+    <module name="EmptyForIteratorPad"/>
+    <module name="EmptyStatement"/>
+    <module name="EqualsAvoidNull"/>
+    <module name="EqualsHashCode"/>
+    <module name="ExecutableStatementCount">
+      <property name="max" value="200"/>
+    </module>
+    <module name="ExplicitInitialization"/>
+    <module name="FallThrough"/>
+    <module name="FinalClass"/>
+    <module name="FinalLocalVariable"/>
+    <module name="FinalParameters"/>
+    <module name="GenericWhitespace"/>
+    <module name="HiddenField"/>
+    <module name="HideUtilityClassConstructor"/>
+    <!-- <module name="IllegalCatch"/> -->
+    <module name="IllegalImport"/>
+    <module name="IllegalInstantiation"/>
+    <module name="IllegalThrows"/>
+    <module name="IllegalToken">
+      <property name="tokens" value="POST_INC,POST_DEC"/>
+    </module>
+    <module name="IllegalTokenText"/>
+    <!-- <module name="IllegalType"/> -->
+    <!-- <module name="ImportControl"/> -->
+    <!-- <module name="ImportOrder"/> -->
+    <!-- <module name="Indentation"/> -->
+    <module name="InnerAssignment"/>
+    <!-- <module name="InnerTypeLast"/> -->
+    <module name="InterfaceIsType"/>
+    <module name="JavaNCSS">
+      <property name="methodMaximum" value="270"/>
+    </module>
+    <module name="JavadocMethod">
+      <property name="scope" value="public"/>
+    </module>
+    <module name="JavadocType">
+      <property name="scope" value="public"/>
+    </module>
+    <module name="JavadocVariable">
+      <property name="scope" value="public"/>
+    </module>
+    <!-- <module name="LeftCurly"/> -->
+    <module name="LineLength">
+      <property name="max" value="180"/>
+    </module>
+    <module name="LocalFinalVariableName">
+      <property name="format" value="^([a-z][a-z0-9_]*|_)$"/>
+    </module>
+    <module name="LocalVariableName">
+      <property name="format" value="^([a-z][a-z0-9_]*|_)$"/>
+    </module>
+    <!-- <module name="MagicNumber"/> -->
+    <module name="MemberName">
+      <property name="format" value="^[a-z][a-z0-9_]*$"/>
+    </module>
+    <module name="MethodCount">
+      <property name="maxPublic" value="250"/>
+      <property name="maxTotal" value="250"/>
+      <property name="maxPackage" value="250"/>
+    </module>
+    <module name="MethodName">
+      <property name="format" value="^[a-z][A-Za-z0-9_]*$"/>
+    </module>
+    <module name="MethodParamPad"/>
+    <module name="MethodTypeParameterName">
+      <property name="format" value="^[A-Z][A-Z0-9]*$"/>
+    </module>
+    <module name="MissingCtor"/>
+    <module name="MissingDeprecated"/>
+    <module name="MissingOverride"/>
+    <!-- <module name="MissingSwitchDefault"/> -->
+    <module name="ModifiedControlVariable"/>
+    <!-- <module name="ModifierOrder"/> -->
+    <!-- <module name="MultipleStringLiterals"/> -->
+    <module name="MultipleVariableDeclarations"/>
+    <module name="MutableException"/>
+    <module name="NPathComplexity"/>
+    <module name="NeedBraces"/>
+    <module name="NestedForDepth">
+      <property name="max" value="2"/>
+    </module>
+    <module name="NestedIfDepth">
+      <property name="max" value="2"/>
+    </module>
+    <module name="NestedTryDepth">
+      <property name="max" value="3"/>
+    </module>
+    <module name="NoClone"/>
+    <module name="NoFinalizer"/>
+    <module name="NoWhitespaceAfter"/>
+    <module name="NoWhitespaceBefore"/>
+    <module name="OneStatementPerLine"/>
+    <module name="OperatorWrap"/>
+    <module name="OuterTypeFilename"/>
+    <module name="OuterTypeNumber"/>
+    <module name="PackageAnnotation"/>
+    <module name="PackageDeclaration"/>
+    <module name="PackageName"/>
+    <module name="ParameterAssignment"/>
+    <module name="ParameterName">
+      <property name="format" value="^([a-z][a-z0-9_]*|_)$"/>
+    </module>
+    <module name="ParameterNumber">
+      <property name="max" value="10"/>
+    </module>
+    <module name="ParenPad"/>
+    <module name="RedundantImport"/>
+    <module name="RedundantModifier"/>
+    <!--<module name="RedundantThrows"/>-->
+    <module name="RequireThis"/>
+    <!--<module name="SimplifyBooleanExpression"/>-->
+    <module name="SimplifyBooleanReturn"/>
+    <module name="StaticVariableName">
+      <property name="format" value="^[A-Z][_A-Z0-9]*$"/>
+    </module>
+    <module name="StringLiteralEquality"/>
+    <module name="TrailingComment"/>
+
+    <!-- Restrict class names -->
+    <module name="TypeName">
+      <property name="format" value="^[A-Z][a-zA-Z0-9_]*$"/>
+      <property name="tokens" value="CLASS_DEF"/>
+    </module>
+
+    <!-- Restrict interface type names -->
+    <module name="TypeName">
+      <property name="format" value="^[A-Z][a-zA-Z0-9_]*(Kind|Type)$"/>
+      <property name="tokens" value="INTERFACE_DEF"/>
+    </module>
+
+    <module name="TypecastParenPad"/>
+
+    <module name="UncommentedMain">
+      <property name="excludedClasses" value="Main$"/>
+    </module>
+
+    <module name="UnusedImports"/>
+    <module name="UpperEll"/>
+    <module name="VisibilityModifier"/>
+    <module name="WhitespaceAfter"/>
+    <module name="WhitespaceAround"/>
+  </module>
+
+  <module name="FileLength">
+    <property name="max" value="1000"/>
+  </module>
+
+  <module name="FileTabCharacter"/>
+  <module name="JavadocPackage"/>
+  <module name="NewlineAtEndOfFile"/>
+  <!-- <module name="StrictDuplicateCode"/> -->
+
+</module>
diff --git a/io7m-jcage-checkstyle/src/site/site.xml b/io7m-jcage-checkstyle/src/site/site.xml
new file mode 100644
index 0000000..ad01ebf
--- /dev/null
+++ b/io7m-jcage-checkstyle/src/site/site.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+
+  <body>
+    <menu name="Project">
+      <item name="Overview" href="index.html"/>
+      <item name="Releases" href="releases.html"/>
+      <item name="Documentation" href="releases.html#Documentation"/>
+      <item name="Changes" href="changes.html"/>
+      <item name="Sources" href="source-repository.html"/>
+      <item name="License" href="license.html"/>
+      <item name="Issues" href="issue-tracking.html"/>
+      <item name="Contacts" href="team-list.html"/>
+      <item name="Metadata" href="project-info.html"/>
+    </menu>
+    <menu name="Parent" ref="parent"/>
+    <menu name="Modules" ref="modules"/>
+  </body>
+
+</project>
diff --git a/src/site/xdoc/project-reports.xml b/io7m-jcage-checkstyle/src/site/xdoc/changes.xml.vm
similarity index 62%
rename from src/site/xdoc/project-reports.xml
rename to io7m-jcage-checkstyle/src/site/xdoc/changes.xml.vm
index 2125119..71f87e7 100644
--- a/src/site/xdoc/project-reports.xml
+++ b/io7m-jcage-checkstyle/src/site/xdoc/changes.xml.vm
@@ -1,17 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
   <properties>
-    <title>Reports</title>
+    <title>Changes</title>
   </properties>
-
   <body>
-    <subsection name="Reports">
-      No reports are currently available.
-    </subsection>
+    <section name="Changes">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for the package changelog.
+    </section>
   </body>
-
 </document>
diff --git a/io7m-jcage-core/src/site/xdoc/index.xml b/io7m-jcage-checkstyle/src/site/xdoc/releases.xml.vm
similarity index 61%
rename from io7m-jcage-core/src/site/xdoc/index.xml
rename to io7m-jcage-checkstyle/src/site/xdoc/releases.xml.vm
index d0b6179..aba1f49 100644
--- a/io7m-jcage-core/src/site/xdoc/index.xml
+++ b/io7m-jcage-checkstyle/src/site/xdoc/releases.xml.vm
@@ -1,17 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
   <properties>
-    <title>io7m-jcage-core</title>
+    <title>Releases</title>
   </properties>
-
   <body>
-    <subsection name="jcage-core">
-      The <var>jcage-core</var> package contains the core types of the package.
-    </subsection>
+    <section name="Releases">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for releases and documentation.
+    </section>
   </body>
-
 </document>
diff --git a/io7m-jcage-core/io7m-jcage-core.iml b/io7m-jcage-core/io7m-jcage-core.iml
new file mode 100644
index 0000000..1390d24
--- /dev/null
+++ b/io7m-jcage-core/io7m-jcage-core.iml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="Maven: com.io7m.jnull:io7m-jnull-core:1.0.1" level="project" />
+    <orderEntry type="library" name="Maven: com.io7m.junreachable:io7m-junreachable-core:1.0.1" level="project" />
+    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.12" level="project" />
+    <orderEntry type="library" name="Maven: org.valid4j:valid4j:0.4.0" level="project" />
+    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck:0.6" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck-src-generator:0.6" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/io7m-jcage-core/pom.xml b/io7m-jcage-core/pom.xml
index 6631d5d..f031ed6 100644
--- a/io7m-jcage-core/pom.xml
+++ b/io7m-jcage-core/pom.xml
@@ -1,364 +1,199 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>0.1.0</version>
+    <version>1.0.0</version>
   </parent>
   <artifactId>io7m-jcage-core</artifactId>
 
   <packaging>jar</packaging>
   <description>Run-time configurable JVM sandboxing (Core)</description>
-  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <url>http://io7m.github.io/jcage</url>
   <name>${project.artifactId}</name>
 
-  <licenses>
-    <license>
-      <name>ISC License</name>
-      <url>http://www.opensource.org/licenses/isc-license.txt</url>
-    </license>
-  </licenses>
-
   <scm>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
-    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+    <url>${project.parent.scm.url}</url>
+    <connection>${project.parent.scm.connection}</connection>
+    <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
-  <developers>
-    <developer>
-      <id>io7m</id>
-      <name>io7m</name>
-      <email>code@io7m.com</email>
-      <url>http://io7m.com</url>
-    </developer>
-  </developers>
-
-  <issueManagement>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <system>Fossil</system>
-  </issueManagement>
-
-  <distributionManagement>
-    <site>
-      <id>io7m</id>
-      <name>io7m.com</name>
-      <url>${project.url}</url>
-    </site>
-  </distributionManagement>
-
-  <mailingLists>
-    <mailingList>
-      <name>io7m-jcage</name>
-      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
-      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
-      <post>io7m-jcage@lists.io7m.com</post>
-      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
-    </mailingList>
-  </mailingLists>
-
-  <prerequisites>
-    <maven>2.2.1</maven>
-  </prerequisites>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-  </properties>
-
   <dependencies>
     <dependency>
       <groupId>com.io7m.jnull</groupId>
       <artifactId>io7m-jnull-core</artifactId>
       <version>[1.0.0, 2.0.0)</version>
     </dependency>
     <dependency>
       <groupId>com.io7m.junreachable</groupId>
       <artifactId>io7m-junreachable-core</artifactId>
       <version>[1.0.0, 2.0.0)</version>
     </dependency>
 
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.12</version>
     </dependency>
     <dependency>
       <groupId>org.valid4j</groupId>
       <artifactId>valid4j</artifactId>
       <version>0.4.0</version>
     </dependency>
 
     <!--  Test suite -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
       <version>4.11</version>
     </dependency>
     <dependency>
       <groupId>net.java</groupId>
       <artifactId>quickcheck</artifactId>
       <version>0.6</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-core</artifactId>
       <version>1.1.3</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-classic</artifactId>
       <version>1.1.3</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
 
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.7</version>
-        <configuration>
-          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>3.3</version>
-      </plugin>
-    </plugins>
-  </reporting>
-
   <build>
     <plugins>
-      <!-- Plugin versions -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clean-plugin</artifactId>
-        <version>2.5</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.7</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <version>2.4</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-resources-plugin</artifactId>
-        <version>2.6</version>
-      </plugin>
-
-      <!-- Require JDK >= 1.7 -->
+      <!-- Redirect test output -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.18.1</version>
         <configuration>
-          <source>1.7</source>
-          <target>1.7</target>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
         </configuration>
       </plugin>
 
-      <!-- Redirect test output -->
+      <!-- Check style -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.15</version>
-        <configuration>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-        </configuration>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>io7m-jcage-checkstyle</artifactId>
+            <version>${project.version}</version>
+          </dependency>
+        </dependencies>
+        <executions>
+          <execution>
+            <id>validate</id>
+            <phase>validate</phase>
+            <configuration>
+              <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml
+              </configLocation>
+              <encoding>UTF-8</encoding>
+              <consoleOutput>true</consoleOutput>
+              <failsOnError>true</failsOnError>
+            </configuration>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
 
       <!-- Produce custom manifest in jar files -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
-        <version>2.4</version>
         <configuration>
           <archive>
             <manifestEntries>
               <Specification-Title>${project.name}</Specification-Title>
               <Specification-Version>${project.version}</Specification-Version>
               <Specification-Vendor>io7m.com</Specification-Vendor>
               <Implementation-Title>${project.name}</Implementation-Title>
               <Implementation-Version>${project.version}</Implementation-Version>
               <Implementation-Vendor>io7m.com</Implementation-Vendor>
               <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
               <Built-By>io7m</Built-By>
               <Sealed>true</Sealed>
             </manifestEntries>
           </archive>
         </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>jar</goal>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
       </plugin>
 
       <!-- Create source jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-        <version>2.2.1</version>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Create javadoc jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.9.1</version>
         <executions>
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
-
-      <!-- Enable code coverage for unit tests -->
-      <plugin>
-        <groupId>org.sonatype.maven.plugin</groupId>
-        <artifactId>emma-maven-plugin</artifactId>
-        <version>1.2</version>
-        <executions>
-          <execution>
-            <phase>process-classes</phase>
-            <goals>
-              <goal>instrument</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
-
-    <!-- Allow deployment over ssh -->
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-ssh-external</artifactId>
-        <version>2.2</version>
-      </extension>
-    </extensions>
-
-    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
-          <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.sonatype.maven.plugin</groupId>
-                    <artifactId>emma-maven-plugin</artifactId>
-                    <versionRange>[1.2,)</versionRange>
-                    <goals>
-                      <goal>instrument</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
-  <!-- Sign artifacts when deploying to io7m -->
-  <profiles>
-    <profile>
-      <id>io7m-deployment-private</id>
-      <activation>
-        <property>
-          <name>io7m.deployment</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.4</version>
-            <executions>
-              <execution>
-                <id>sign-artifacts</id>
-                <phase>verify</phase>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java
index 1d4a75d..df7fd8d 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java
@@ -24,34 +24,38 @@ import com.io7m.jnull.NullCheck;
 
-public final class JCClassLoaderPolicyUnrestricted implements
-  JCClassLoaderPolicyType
+public final class JCClassLoaderPolicyUnrestricted
+  implements JCClassLoaderPolicyType
 {
   private static final JCClassLoaderPolicyUnrestricted POLICY;
 
   static {
     POLICY = new JCClassLoaderPolicyUnrestricted();
   }
 
-  public static JCClassLoaderPolicyType get()
+  private JCClassLoaderPolicyUnrestricted()
   {
-    return JCClassLoaderPolicyUnrestricted.POLICY;
+
   }
 
-  private JCClassLoaderPolicyUnrestricted()
-  {
+  /**
+   * @return A class loader policy that allows everything.
+   */
 
+  public static JCClassLoaderPolicyType get()
+  {
+    return JCClassLoaderPolicyUnrestricted.POLICY;
   }
 
   @Override public boolean policyAllowsClass(
     final String name)
   {
     NullCheck.notNull(name);
     return true;
   }
 
   @Override public boolean policyAllowsResource(
     final String name)
   {
     NullCheck.notNull(name);
     return true;
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
index 69b730a..2a3e2ab 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
@@ -18,2 +18,5 @@ package com.io7m.jcage.core;
 
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
 import java.net.MalformedURLException;
@@ -25,89 +28,103 @@ import java.util.List;
 
-import com.io7m.jnull.NullCheck;
-import com.io7m.jnull.Nullable;
-
 /**
  * A class resolver that can load class data from the current classpath.
  */
 
-public final class JCClassNameResolverClasspath implements
-  JCClassNameResolverType
+public final class JCClassNameResolverClasspath
+  implements JCClassNameResolverType
 {
+  private final JCClassNameResolverType actual;
+
+  private JCClassNameResolverClasspath(
+    final JCClassNameResolverType in_actual)
+  {
+    this.actual = NullCheck.notNull(in_actual);
+  }
+
+  /**
+   * @return A class resolver that can load class data from the current
+   * classpath.
+   */
+
   public static JCClassNameResolverType get()
   {
     final String path =
       NullCheck.notNull(System.getProperty("java.class.path"));
     return JCClassNameResolverClasspath.getWithPath(path);
   }
 
+  /**
+   * @param path The classpath
+   *
+   * @return A class resolver that can load class data from the given classpath
+   * using the default element separator.
+   */
+
   public static JCClassNameResolverType getWithPath(
     final String path)
   {
     NullCheck.notNull(path);
-    final String sep =
-      NullCheck.notNull(System.getProperty("path.separator"));
+    final String sep = NullCheck.notNull(System.getProperty("path.separator"));
     return JCClassNameResolverClasspath.getWithPathAndSeparator(path, sep);
   }
 
+  /**
+   * @param path The classpath
+   * @param sep  The classpath element separator
+   *
+   * @return A class resolver that can load class data from the given classpath.
+   */
+
   public static JCClassNameResolverType getWithPathAndSeparator(
     final String path,
     final String sep)
   {
     NullCheck.notNull(path);
     NullCheck.notNull(sep);
 
     final List<URL> urls =
       JCClassNameResolverClasspath.getClasspathElements(path, sep);
 
     return new JCClassNameResolverClasspath(JCClassNameResolverURLs.get(urls));
   }
 
   /**
    * Split <tt>path</tt> into elements on <tt>sep</tt>.
    *
-   * @param path
-   *          The path
-   * @param sep
-   *          The separator
+   * @param path The path
+   * @param sep  The separator
+   *
    * @return The URL elements
    */
 
   public static List<URL> getClasspathElements(
     final String path,
     final String sep)
   {
     NullCheck.notNull(path);
     NullCheck.notNull(sep);
 
     final String[] segments = path.split(sep);
     final List<URL> urls = new ArrayList<>();
     for (int index = 0; index < segments.length; ++index) {
       try {
         URI uri = new URI(segments[index]);
         if (null == uri.getScheme()) {
           uri = new URI("file", null, uri.getPath(), null);
         }
         urls.add(uri.toURL());
       } catch (final MalformedURLException e) {
         // Nothing
       } catch (final URISyntaxException e) {
         // Nothing
       }
     }
     return urls;
   }
 
-  private final JCClassNameResolverType actual;
-
-  private JCClassNameResolverClasspath(
-    final JCClassNameResolverType in_actual)
-  {
-    this.actual = NullCheck.notNull(in_actual);
-  }
-
   @Override public @Nullable byte[] resolveToBytes(
     final String name)
   {
     return this.actual.resolveToBytes(name);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java
index dc8f071..9d74228 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java
@@ -19,7 +19,5 @@ package com.io7m.jcage.core;
 import com.io7m.jnull.Nullable;
 
 /**
- * <p>
- * A mapping from class names to bytes.
- * </p>
+ * <p> A mapping from class names to bytes. </p>
  */
@@ -27,5 +25,12 @@ import com.io7m.jnull.Nullable;
 public interface JCClassNameResolverType
 {
+  /**
+   * @param name The class name
+   *
+   * @return The class as a series of bytes, or {@code null} if it cannot be
+   * found.
+   */
+
   @Nullable byte[] resolveToBytes(
     String name);
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
index 36986a3..98a47b3 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
@@ -18,2 +18,5 @@ package com.io7m.jcage.core;
 
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
 import java.io.ByteArrayOutputStream;
@@ -29,7 +32,4 @@ import java.util.List;
 
-import com.io7m.jnull.NullCheck;
-import com.io7m.jnull.Nullable;
-
 /**
  * A class resolver that can load class data from a list of URLs.
  */
@@ -37,106 +37,111 @@ import com.io7m.jnull.Nullable;
 public final class JCClassNameResolverURLs implements JCClassNameResolverType
 {
+  private final List<URL> urls;
+
+  private JCClassNameResolverURLs(
+    final List<URL> in_urls)
+  {
+    this.urls = NullCheck.notNullAll(in_urls, "URLs");
+  }
+
+  /**
+   * @param urls A list of URLs
+   *
+   * @return A class resolver that can load class data from the given URLs.
+   */
+
   public static JCClassNameResolverType get(
     final List<URL> urls)
   {
     return new JCClassNameResolverURLs(urls);
   }
 
   private static @Nullable byte[] tryDirectory(
     final File dir,
     final String path)
   {
     final File actual = new File(dir, path);
 
     final ByteArrayOutputStream bao = new ByteArrayOutputStream(4096);
     try (final InputStream stream = new FileInputStream(actual)) {
       final byte[] buffer = new byte[4096];
-      for (;;) {
+      while (true) {
         final int r = stream.read(buffer);
         if (r == -1) {
           break;
         }
         bao.write(buffer, 0, r);
       }
       return bao.toByteArray();
     } catch (final FileNotFoundException e) {
       // e.printStackTrace();
     } catch (final IOException e) {
       // e.printStackTrace();
     }
 
     return null;
   }
 
   private static @Nullable byte[] tryJar(
     final String path,
     final URL u)
   {
     try {
-      final String s =
-        NullCheck.notNull(String.format("jar:%s!/%s", u, path));
+      final String s = NullCheck.notNull(String.format("jar:%s!/%s", u, path));
       final URL ju = new URL(s);
       final JarURLConnection c = (JarURLConnection) ju.openConnection();
 
       final ByteArrayOutputStream bao = new ByteArrayOutputStream(4096);
       try (final InputStream stream = c.getInputStream()) {
         final byte[] buffer = new byte[4096];
-        for (;;) {
+        while (true) {
           final int r = stream.read(buffer);
           if (r == -1) {
             break;
           }
           bao.write(buffer, 0, r);
         }
       }
 
       return bao.toByteArray();
     } catch (final MalformedURLException e) {
       // e.printStackTrace();
     } catch (final IOException e) {
       // e.printStackTrace();
     }
 
     return null;
   }
 
-  private final List<URL> urls;
-
-  private JCClassNameResolverURLs(
-    final List<URL> in_urls)
-  {
-    this.urls = NullCheck.notNullAll(in_urls, "URLs");
-  }
-
   @Override public @Nullable byte[] resolveToBytes(
     final String name)
   {
     final String path = NullCheck.notNull(name.replace('.', '/') + ".class");
 
     for (final URL in_u : this.urls) {
       final URL u = NullCheck.notNull(in_u);
 
       if ("file".equals(u.getProtocol())) {
         final File dir = new File(u.getPath());
         if (dir.isDirectory()) {
           {
             final byte[] bytes =
               JCClassNameResolverURLs.tryDirectory(dir, path);
             if (bytes != null) {
               return bytes;
             }
           }
         }
       }
 
       {
         final byte[] bytes = JCClassNameResolverURLs.tryJar(path, u);
         if (bytes != null) {
           return bytes;
         }
       }
     }
 
     return null;
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
index 77b953b..89b3962 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
@@ -18,2 +18,6 @@ package com.io7m.jcage.core;
 
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+import org.valid4j.Assertive;
+
 import java.net.URL;
@@ -31,14 +35,5 @@ import java.util.concurrent.ConcurrentHashMap;
 
-import org.valid4j.Assertive;
-
-import com.io7m.jnull.NullCheck;
-import com.io7m.jnull.Nullable;
-
 /**
- * <p>
- * The main sandboxing {@link Policy} implementation.
- * </p>
- * <p>
- * The policy maps sandbox URLs to sets of {@link Permission} values.
- * </p>
+ * <p> The main sandboxing {@link Policy} implementation. </p> <p> The policy
+ * maps sandbox URLs to sets of {@link Permission} values. </p>
  */
@@ -46,119 +41,118 @@ import com.io7m.jnull.Nullable;
 public final class JCPolicy extends Policy
 {
+  private final Map<URL, Permissions> sandboxes;
+  private       Permissions           permissions_default;
+
+  JCPolicy()
+  {
+    this.sandboxes = new ConcurrentHashMap<URL, Permissions>();
+    final Permissions q = new Permissions();
+    q.add(new AllPermission());
+    q.setReadOnly();
+    this.permissions_default = q;
+  }
+
   @Override public @Nullable Provider getProvider()
   {
     return null;
   }
 
   @Override public void refresh()
   {
     // Nothing
   }
 
   @Override public PermissionCollection getPermissions(
     final @Nullable CodeSource codesource)
   {
     throw new UnsupportedOperationException();
   }
 
   @Override public PermissionCollection getPermissions(
     final @Nullable ProtectionDomain domain)
   {
     throw new UnsupportedOperationException();
   }
 
   @Override public @Nullable String getType()
   {
     return null;
   }
 
   @Override public @Nullable Parameters getParameters()
   {
     return null;
   }
 
-  private Permissions                 permissions_default;
-  private final Map<URL, Permissions> sandboxes;
-
-  JCPolicy()
-  {
-    this.sandboxes = new ConcurrentHashMap<URL, Permissions>();
-    final Permissions q = new Permissions();
-    q.add(new AllPermission());
-    q.setReadOnly();
-    this.permissions_default = q;
-  }
-
   @Override public boolean implies(
     final @Nullable ProtectionDomain in_domain,
     final @Nullable Permission in_permission)
   {
     final ProtectionDomain domain = NullCheck.notNull(in_domain);
     final Permission permission = NullCheck.notNull(in_permission);
     final CodeSource source = domain.getCodeSource();
 
     final Permissions box_perms = this.sandboxes.get(source.getLocation());
     if (box_perms != null) {
       return box_perms.implies(permission);
     }
 
     return this.permissions_default.implies(permission);
   }
 
   /**
    * Set the default (non-sandboxed) permissions.
    *
-   * @param p
-   *          The permissions
+   * @param p The permissions
    */
 
   public void setDefaultPermissions(
     final Permissions p)
   {
     NullCheck.notNull(p);
 
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       final JCSandboxAdminPermission rp =
         new JCSandboxAdminPermission("*", "setDefaultPermissions");
       sm.checkPermission(rp);
     }
 
     final Permissions q = new Permissions();
     final Enumeration<Permission> pe = p.elements();
     while (pe.hasMoreElements()) {
       q.add(pe.nextElement());
     }
     q.setReadOnly();
     this.permissions_default = q;
   }
 
   /**
    * Set the permissions for the given sandbox.
    *
-   * @param p
-   *          The permissions
+   * @param name The sandbox name
+   * @param p    The permissions
    */
 
   public void putSandboxPermissions(
     final URL name,
     final Permissions p)
   {
     NullCheck.notNull(name);
     NullCheck.notNull(p);
 
     final SecurityManager sm = System.getSecurityManager();
     if (sm != null) {
       final JCSandboxAdminPermission rp =
         new JCSandboxAdminPermission(name.toString(), "setSandboxPermissions");
       sm.checkPermission(rp);
     }
 
     Assertive.require(
       this.sandboxes.containsKey(name) == false,
       "Sandbox does not already exist with URL '%s'",
       name);
 
     this.sandboxes.put(name, p);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java
index 255b94f..3817bb1 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java
@@ -18,9 +18,9 @@ package com.io7m.jcage.core;
 
-import java.security.Permission;
-
 import com.io7m.jnull.NullCheck;
 import com.io7m.jnull.Nullable;
 
+import java.security.Permission;
+
 /**
  * Permissions required to administer the sandbox system.
  */
@@ -28,76 +28,82 @@ import com.io7m.jnull.Nullable;
 public final class JCSandboxAdminPermission extends Permission
 {
+  private static final long serialVersionUID = 1L;
+  private final String name;
+  private final String actions;
+
+  /**
+   * Construct a permission.
+   *
+   * @param in_name    The permission name
+   * @param in_actions The permitted actions
+   */
+
+  public JCSandboxAdminPermission(
+    final String in_name,
+    final String in_actions)
+  {
+    super(in_name);
+    this.name = NullCheck.notNull(in_name);
+    this.actions = NullCheck.notNull(in_actions);
+  }
+
   @Override public int hashCode()
   {
     final int prime = 31;
     int result = 1;
     result = (prime * result) + this.actions.hashCode();
     result = (prime * result) + this.name.hashCode();
     return result;
   }
 
   @Override public boolean equals(
     final @Nullable Object obj)
   {
     if (this == obj) {
       return true;
     }
     if (obj == null) {
       return false;
     }
     if (this.getClass() != obj.getClass()) {
       return false;
     }
     final JCSandboxAdminPermission other = (JCSandboxAdminPermission) obj;
     return this.actions.equals(other.actions) && this.name.equals(other.name);
   }
 
   @Override public boolean implies(
     final @Nullable Permission in_p)
   {
     final Permission p = NullCheck.notNull(in_p);
     if (p instanceof JCSandboxAdminPermission) {
       final JCSandboxAdminPermission jp = (JCSandboxAdminPermission) p;
 
       final String this_name = this.getName();
       final String this_act = this.getActions();
       final String other_name = jp.getName();
       final String other_act = jp.getActions();
 
-      if (this_name.equals("*")) {
-        if (this_act.equals("*")) {
+      if ("*".equals(this_name)) {
+        if ("*".equals(this_act)) {
           return true;
         }
         return this_act.equals(other_act);
       }
 
       if (this_name.equals(other_name)) {
-        if (this_act.equals("*")) {
+        if ("*".equals(this_act)) {
           return true;
         }
         return this_act.equals(other_act);
       }
     }
 
     return false;
   }
 
-  private static final long serialVersionUID = 1L;
-
-  private final String      name;
-  private final String      actions;
-
-  public JCSandboxAdminPermission(
-    final String in_name,
-    final String in_actions)
-  {
-    super(in_name);
-    this.name = NullCheck.notNull(in_name);
-    this.actions = NullCheck.notNull(in_actions);
-  }
-
   @Override public String getActions()
   {
     return this.actions;
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java
index b3bc44e..d0d4644 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java
@@ -23,10 +23,16 @@ package com.io7m.jcage.core;
 public final class JCSandboxClassMissingException extends JCSandboxException
 {
   private static final long serialVersionUID = 1L;
 
+  /**
+   * Construct an exception.
+   *
+   * @param e The cause
+   */
+
   public JCSandboxClassMissingException(
     final ClassNotFoundException e)
   {
     super(e);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java
index 6facb51..a895edd 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java
@@ -23,11 +23,17 @@ package com.io7m.jcage.core;
 public final class JCSandboxClassWrongLoaderException extends
   JCSandboxException
 {
   private static final long serialVersionUID = 1L;
 
+  /**
+   * Construct an exception.
+   *
+   * @param message The message
+   */
+
   public JCSandboxClassWrongLoaderException(
     final String message)
   {
     super(message);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java
index 26e7b71..f846a3a 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java
@@ -23,10 +23,16 @@ package com.io7m.jcage.core;
 public final class JCSandboxDuplicateException extends JCSandboxException
 {
   private static final long serialVersionUID = 1L;
 
+  /**
+   * Construct an exception.
+   *
+   * @param message The message
+   */
+
   public JCSandboxDuplicateException(
     final String message)
   {
     super(message);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
index 43e04f2..bf3a35a 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
@@ -23,16 +23,28 @@ package com.io7m.jcage.core;
 public abstract class JCSandboxException extends Exception
 {
   private static final long serialVersionUID = 1L;
 
+  /**
+   * Construct an exception.
+   *
+   * @param message The exception message
+   */
+
   public JCSandboxException(
     final String message)
   {
     super(message);
   }
 
+  /**
+   * Construct an exception.
+   *
+   * @param e The cause
+   */
+
   public JCSandboxException(
     final Throwable e)
   {
     super(e);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java
index e17bbbe..1fa1a2a 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java
@@ -18,19 +18,13 @@ package com.io7m.jcage.core;
 
-import java.net.URL;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import org.valid4j.Assertive;
-
 import com.io7m.jnull.NullCheck;
 import com.io7m.junreachable.UnreachableCodeException;
+import org.valid4j.Assertive;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
 
 /**
- * <p>
- * Functions to validate sandbox names.
- * </p>
- * <p>
- * The format of sandbox names are restricted in order to ensure that they can
- * always be used safely inside {@link URL} values.
- * </p>
+ * <p> Functions to validate sandbox names. </p> <p> The format of sandbox names
+ * are restricted in order to ensure that they can always be used safely inside
+ * {@link java.net.URL} values. </p>
  */
@@ -38,54 +32,53 @@ import com.io7m.junreachable.UnreachableCodeException;
 public final class JCSandboxNames
 {
   private static final Pattern PATTERN;
   private static final String  PATTERN_TEXT;
 
   static {
     PATTERN_TEXT = "[[\\p{Alnum}][_]]{1,}";
-    PATTERN =
-      NullCheck.notNull(Pattern.compile(
-        JCSandboxNames.PATTERN_TEXT,
-        Pattern.UNICODE_CHARACTER_CLASS));
+    PATTERN = NullCheck.notNull(
+      Pattern.compile(
+        JCSandboxNames.PATTERN_TEXT, Pattern.UNICODE_CHARACTER_CLASS));
+  }
+
+  private JCSandboxNames()
+  {
+    throw new UnreachableCodeException();
   }
 
   /**
-   * Check if <tt>name</tt> is valid with respect to
-   * {@link #nameIsValid(String)}.
+   * Check if <tt>name</tt> is valid with respect to {@link
+   * #nameIsValid(String)}.
+   *
+   * @param name The name
    *
-   * @param name
-   *          The name
    * @return The name
    */
 
   public static String nameCheck(
     final String name)
   {
     NullCheck.notNull(name);
     Assertive.require(
       JCSandboxNames.nameIsValid(name),
       "Sandbox name '%s' does not match the pattern '%s'",
       name,
       JCSandboxNames.PATTERN_TEXT);
     return name;
   }
 
   /**
-   * @param name
-   *          The requested sandbox name
+   * @param name The requested sandbox name
+   *
    * @return <tt>true</tt> is a valid sandbox name
    */
 
   public static boolean nameIsValid(
     final String name)
   {
     NullCheck.notNull(name);
 
     final Matcher matcher = JCSandboxNames.PATTERN.matcher(name);
     return matcher.matches();
   }
-
-  private JCSandboxNames()
-  {
-    throw new UnreachableCodeException();
-  }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java
index dacbb94..7ef3231 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java
@@ -23,10 +23,16 @@ package com.io7m.jcage.core;
 public final class JCSandboxSecurityException extends JCSandboxException
 {
   private static final long serialVersionUID = 1L;
 
+  /**
+   * Construct an exception.
+   *
+   * @param e The cause
+   */
+
   public JCSandboxSecurityException(
     final SecurityException e)
   {
     super(e);
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
index 490ed2b..a153686 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
@@ -20,6 +20,5 @@ import java.net.URL;
 import java.security.Permissions;
-import java.security.Policy;
 
 /**
  * The type of sandboxes.
  */
@@ -27,48 +26,53 @@ import java.security.Policy;
 public interface JCSandboxType
 {
   /**
    * @return The sandbox's class loader
    */
 
   JCClassLoader getSandboxClassLoader();
 
   /**
-   * Return a class that is guaranteed to have been loaded by the sandbox
-   * class loader.
+   * Return a class that is guaranteed to have been loaded by the sandbox class
+   * loader.
+   *
+   * @param name The name of the class
    *
-   * @param name
-   *          The name of the class
    * @return A loaded class
-   * @throws JCSandboxClassWrongLoaderException
-   *           If the given class was loaded by a class loader other than that
-   *           created for the sandbox
-   * @throws JCSandboxClassMissingException
-   *           If the given class does not exist
+   *
+   * @throws JCSandboxClassWrongLoaderException If the given class was loaded by
+   *                                            a class loader other than that
+   *                                            created for the sandbox
+   * @throws JCSandboxClassMissingException     If the given class does not
+   *                                            exist
+   * @throws JCSandboxException                 On other errors
    */
 
   Class<?> getSandboxLoadedClass(
     String name)
-    throws JCSandboxException;
+    throws
+    JCSandboxException,
+    JCSandboxClassWrongLoaderException,
+    JCSandboxClassMissingException;
 
   /**
    * @return The short name of the sandbox
    */
 
   String getSandboxName();
 
   /**
    * @return The permissions assigned to the sandbox
    */
 
   Permissions getSandboxPermissions();
 
   /**
    * Get the identifying URL of the sandbox. This URL uniquely identifies the
-   * sandbox for the purposes of assigning permissions in Java {@link Policy}
-   * implementations.
+   * sandbox for the purposes of assigning permissions in Java {@link
+   * java.security.Policy} implementations.
    *
    * @return The identifying URL of the sandbox
    */
 
   URL getSandboxURL();
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
index 0079d1e..8f761ff 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
@@ -18,2 +18,8 @@ package com.io7m.jcage.core;
 
+import com.io7m.jnull.NullCheck;
+import com.io7m.junreachable.UnreachableCodeException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.valid4j.Assertive;
+
 import java.net.MalformedURLException;
@@ -26,11 +32,4 @@ import java.util.Map;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.valid4j.Assertive;
-
-import com.io7m.jnull.NullCheck;
-import com.io7m.junreachable.UnreachableCodeException;
-
 /**
  * The default implementation of the {@link JCSandboxesType} interface.
  */
@@ -38,197 +37,204 @@ import com.io7m.junreachable.UnreachableCodeException;
 public final class JCSandboxes implements JCSandboxesType
 {
+  private static final Logger            LOG;
+  private static final JCPolicy          POLICY;
+  private static final JCSandboxesType   SANDBOXES;
+  private static final JCSecurityManager SECURITY_MANAGER;
+
+  static {
+    SECURITY_MANAGER = new JCSecurityManager();
+    POLICY = new JCPolicy();
+    LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSandboxes.class));
+    SANDBOXES = new JCSandboxes();
+  }
+
+  private final Map<String, JCSandboxType> sandboxes;
+
+  private JCSandboxes()
+  {
+    this.sandboxes = new HashMap<String, JCSandboxType>();
+  }
+
+  /**
+   * @return A reference to the current sandbox interface
+   */
+
+  public static JCSandboxesType get()
+  {
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      sm.checkPermission(new JCSandboxAdminPermission("*", "getSandboxes"));
+    }
+
+    JCSandboxes.installSecurityManagerAndPolicy();
+    return JCSandboxes.SANDBOXES;
+  }
+
+  private static void installSecurityManagerAndPolicy()
+  {
+    final Policy p = Policy.getPolicy();
+    if ((p instanceof JCPolicy) == false) {
+      JCSandboxes.LOG.debug("installing policy");
+      Policy.setPolicy(JCSandboxes.POLICY);
+    }
+
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      Assertive.require(
+        sm instanceof JCSecurityManager,
+        "Installed security manager must be of type %s",
+        JCSecurityManager.class);
+    } else {
+      JCSandboxes.LOG.debug("installing security manager");
+      System.setSecurityManager(JCSandboxes.SECURITY_MANAGER);
+    }
+  }
+
+  /**
+   * Set the default global permissions.
+   *
+   * @param p The set of permissions
+   */
+
+  public static void setGlobalPermissions(
+    final Permissions p)
+  {
+    JCSandboxes.POLICY.setDefaultPermissions(p);
+  }
+
+  @Override public JCSandboxType createSandbox(
+    final String name,
+    final ClassLoader sandbox_host_classloader,
+    final JCClassLoaderPolicyType sandbox_host_class_policy,
+    final JCClassNameResolverType in_class_resolver,
+    final JCClassLoaderPolicyType sandbox_class_policy,
+    final Permissions in_p)
+    throws JCSandboxException
+  {
+    NullCheck.notNull(name);
+    NullCheck.notNull(sandbox_host_classloader);
+    NullCheck.notNull(sandbox_host_class_policy);
+    NullCheck.notNull(in_class_resolver);
+    NullCheck.notNull(sandbox_class_policy);
+    NullCheck.notNull(in_p);
+
+    JCSandboxNames.nameCheck(name);
+
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      sm.checkPermission(new JCSandboxAdminPermission(name, "createSandbox"));
+    }
+
+    synchronized (this.sandboxes) {
+      if (this.sandboxes.containsKey(name)) {
+        throw new JCSandboxDuplicateException(name);
+      }
+
+      final Sandbox s = new Sandbox(
+        name,
+        sandbox_host_classloader,
+        sandbox_host_class_policy,
+        in_class_resolver,
+        sandbox_class_policy,
+        in_p);
+
+      JCSandboxes.POLICY.putSandboxPermissions(s.getSandboxURL(), in_p);
+      this.sandboxes.put(name, s);
+      return s;
+    }
+  }
+
   private static final class Sandbox implements JCSandboxType
   {
     private final JCClassLoader           class_loader;
     private final JCClassNameResolverType class_resolver;
     private final ClassLoader             host_class_loader;
     private final JCClassLoaderPolicyType host_class_policy;
     private final String                  name;
     private final Permissions             permissions;
     private final URI                     uri;
     private final URL                     url;
 
     public Sandbox(
       final String in_name,
       final ClassLoader in_sandbox_host_classloader,
       final JCClassLoaderPolicyType in_sandbox_host_class_policy,
       final JCClassNameResolverType in_class_resolver,
       final JCClassLoaderPolicyType in_sandbox_class_policy,
       final Permissions in_p)
     {
       try {
         this.name = NullCheck.notNull(in_name);
-        this.host_class_loader =
-          NullCheck.notNull(in_sandbox_host_classloader);
+        this.host_class_loader = NullCheck.notNull(in_sandbox_host_classloader);
         this.host_class_policy =
           NullCheck.notNull(in_sandbox_host_class_policy);
         this.class_resolver = NullCheck.notNull(in_class_resolver);
         this.uri =
           NullCheck.notNull(URI.create("http://jcage-sandbox/" + in_name));
         this.url = NullCheck.notNull(this.uri.toURL());
         this.permissions = NullCheck.notNull(in_p);
-        this.class_loader =
-          new JCClassLoader(
-            this.host_class_loader,
-            this.host_class_policy,
-            this.class_resolver,
-            in_sandbox_class_policy,
-            this.url);
+        this.class_loader = new JCClassLoader(
+          this.host_class_loader,
+          this.host_class_policy,
+          this.class_resolver,
+          in_sandbox_class_policy,
+          this.url);
       } catch (final MalformedURLException e) {
         throw new UnreachableCodeException(e);
       }
     }
 
     @Override public JCClassLoader getSandboxClassLoader()
     {
       return this.class_loader;
     }
 
     @Override public Class<?> getSandboxLoadedClass(
       final String in_class_name)
       throws JCSandboxException
     {
       try {
         final String class_name = NullCheck.notNull(in_class_name);
         final Class<?> c = this.class_loader.loadClass(class_name);
 
         final ClassLoader loader = c.getClassLoader();
         if (loader != this.class_loader) {
           final StringBuilder sb = new StringBuilder();
           sb.append("Expected a class loaded by the sandbox loader.\n");
           sb.append("  Class:    ");
           sb.append(c);
           sb.append("\n");
           sb.append("  Expected: ");
           sb.append(this.class_loader);
           sb.append("\n");
           sb.append("  Got:      ");
           sb.append(loader);
           sb.append("\n");
           final String m = NullCheck.notNull(sb.toString());
           throw new JCSandboxClassWrongLoaderException(m);
         }
 
         return c;
       } catch (final ClassNotFoundException e) {
         throw new JCSandboxClassMissingException(e);
       } catch (final SecurityException e) {
         throw new JCSandboxSecurityException(e);
       }
     }
 
     @Override public String getSandboxName()
     {
       return this.name;
     }
 
     @Override public Permissions getSandboxPermissions()
     {
       return this.permissions;
     }
 
     @Override public URL getSandboxURL()
     {
       return this.url;
     }
   }
-
-  private static final Logger            LOG;
-  private static final JCPolicy          POLICY;
-  private static final JCSandboxesType   SANDBOXES;
-  private static final JCSecurityManager SECURITY_MANAGER;
-
-  static {
-    SECURITY_MANAGER = new JCSecurityManager();
-    POLICY = new JCPolicy();
-    LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSandboxes.class));
-    SANDBOXES = new JCSandboxes();
-  }
-
-  public static JCSandboxesType get()
-  {
-    final SecurityManager sm = System.getSecurityManager();
-    if (sm != null) {
-      sm.checkPermission(new JCSandboxAdminPermission("*", "getSandboxes"));
-    }
-
-    JCSandboxes.installSecurityManagerAndPolicy();
-    return JCSandboxes.SANDBOXES;
-  }
-
-  private static void installSecurityManagerAndPolicy()
-  {
-    final Policy p = Policy.getPolicy();
-    if ((p instanceof JCPolicy) == false) {
-      JCSandboxes.LOG.debug("installing policy");
-      Policy.setPolicy(JCSandboxes.POLICY);
-    }
-
-    final SecurityManager sm = System.getSecurityManager();
-    if (sm != null) {
-      Assertive.require(
-        sm instanceof JCSecurityManager,
-        "Installed security manager must be of type %s",
-        JCSecurityManager.class);
-    } else {
-      JCSandboxes.LOG.debug("installing security manager");
-      System.setSecurityManager(JCSandboxes.SECURITY_MANAGER);
-    }
-  }
-
-  public static void setGlobalPermissions(
-    final Permissions p)
-  {
-    JCSandboxes.POLICY.setDefaultPermissions(p);
-  }
-
-  private final Map<String, JCSandboxType> sandboxes;
-
-  private JCSandboxes()
-  {
-    this.sandboxes = new HashMap<String, JCSandboxType>();
-  }
-
-  @Override public JCSandboxType createSandbox(
-    final String name,
-    final ClassLoader sandbox_host_classloader,
-    final JCClassLoaderPolicyType sandbox_host_class_policy,
-    final JCClassNameResolverType in_class_resolver,
-    final JCClassLoaderPolicyType sandbox_class_policy,
-    final Permissions in_p)
-    throws JCSandboxException
-  {
-    NullCheck.notNull(name);
-    NullCheck.notNull(sandbox_host_classloader);
-    NullCheck.notNull(sandbox_host_class_policy);
-    NullCheck.notNull(in_class_resolver);
-    NullCheck.notNull(sandbox_class_policy);
-    NullCheck.notNull(in_p);
-
-    JCSandboxNames.nameCheck(name);
-
-    final SecurityManager sm = System.getSecurityManager();
-    if (sm != null) {
-      sm.checkPermission(new JCSandboxAdminPermission(name, "createSandbox"));
-    }
-
-    synchronized (this.sandboxes) {
-      if (this.sandboxes.containsKey(name)) {
-        throw new JCSandboxDuplicateException(name);
-      }
-
-      final Sandbox s =
-        new Sandbox(
-          name,
-          sandbox_host_classloader,
-          sandbox_host_class_policy,
-          in_class_resolver,
-          sandbox_class_policy,
-          in_p);
-
-      JCSandboxes.POLICY.putSandboxPermissions(s.getSandboxURL(), in_p);
-      this.sandboxes.put(name, s);
-      return s;
-    }
-  }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java
index 84b12f1..38593c3 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java
@@ -25,39 +25,32 @@ import java.security.Permissions;
 public interface JCSandboxesType
 {
   /**
-   * <p>
    * Create a new sandbox.
-   * </p>
-   * 
-   * @param name
-   *          The name of the sandbox (must be valid, see @link
-   *          {@link JCSandboxNames}).
-   * @param sandbox_host_classloader
-   *          The class loader used to load classes on the host (outside of
-   *          the sandbox)
-   * @param sandbox_host_class_policy
-   *          The policy that controls access to classes outside of the
-   *          sandbox
-   * @param class_resolver
-   *          The class name resolver
-   * @param sandbox_class_policy
-   *          The policy that controls which classes will be loaded using the
-   *          sandbox class loader
-   * @param p
-   *          The permissions assigned to the sandbox
+   *
+   * @param name                      The name of the sandbox (must be valid,
+   *                                  see @link {@link JCSandboxNames}).
+   * @param sandbox_host_classloader  The class loader used to load classes on
+   *                                  the host (outside of the sandbox)
+   * @param sandbox_host_class_policy The policy that controls access to classes
+   *                                  outside of the sandbox
+   * @param class_resolver            The class name resolver
+   * @param sandbox_class_policy      The policy that controls which classes
+   *                                  will be loaded using the sandbox class
+   *                                  loader
+   * @param p                         The permissions assigned to the sandbox
+   *
    * @return A new sandbox
-   * @throws JCSandboxDuplicateException
-   *           If the sandbox already exists
-   * @throws JCSandboxException
-   *           On other sandbox errors
+   *
+   * @throws JCSandboxDuplicateException If the sandbox already exists
+   * @throws JCSandboxException          On other sandbox errors
    */
 
   JCSandboxType createSandbox(
     String name,
     ClassLoader sandbox_host_classloader,
     JCClassLoaderPolicyType sandbox_host_class_policy,
     JCClassNameResolverType class_resolver,
     JCClassLoaderPolicyType sandbox_class_policy,
     Permissions p)
-    throws JCSandboxException;
+    throws JCSandboxException, JCSandboxDuplicateException;
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
index 7ab4617..a9c15ca 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
@@ -18,2 +18,7 @@ package com.io7m.jcage.core;
 
+import com.io7m.jnull.NullCheck;
+import com.io7m.junreachable.UnreachableCodeException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
 import java.util.ArrayList;
@@ -23,225 +28,210 @@ import java.util.regex.Pattern;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import com.io7m.jnull.NullCheck;
-import com.io7m.junreachable.UnreachableCodeException;
-
 /**
  * <p>
  * A sequential, pattern-based policy.
  * </p>
  *
  * <p>
  * Incoming class and resource names are matched against a series of
  * <i>rules</i>. A rule specifies a <i>pattern</i> and a <i>conclusion</i>.
  * The <i>current conclusion</i> is initially set to the default value as
  * defined by the policy. If a <i>rule's</i> <i>pattern</i> matches the
  * current name, the <i>current conclusion</i> becomes that of the rule. Rules
  * are evaluated from first to last. If a rule is marked as <i>quick</i>,
  * evaluation of rules stops at that point. When evaluation has completed, the
  * <i>current conclusion</i> is returned and used to determine whether or not
  * access is permitted.
  * </p>
  * <p>
  * This scheme was inspired by the OpenBSD PF firewall.
  * </p>
  *
  * @see <a href="http://www.openbsd.org/faq/pf/filter.html">OpenBSD PF</a>
  */
 
 @SuppressWarnings({ "boxing", "synthetic-access" }) public final class JCSequentialPolicy implements
   JCClassLoaderPolicyType
 {
   private static final class Builder implements JCSequentialPolicyBuilderType
   {
     private final JCRuleConclusion class_default;
     private final List<Rule>       class_rules;
     private final JCRuleConclusion resource_default;
     private final List<Rule>       resource_rules;
 
     public Builder(
       final JCRuleConclusion in_class_default,
       final JCRuleConclusion in_resource_default)
     {
       this.class_default = NullCheck.notNull(in_class_default);
       this.resource_default = NullCheck.notNull(in_resource_default);
       this.class_rules = new ArrayList<JCSequentialPolicy.Rule>();
       this.resource_rules = new ArrayList<JCSequentialPolicy.Rule>();
     }
 
     @Override public void addClassRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.class_rules.add(new Rule(p, quick, c));
     }
 
     @Override public void addResourceRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.resource_rules.add(new Rule(p, quick, c));
     }
 
     @Override public JCSequentialPolicy build()
     {
       return new JCSequentialPolicy(
         this.class_rules,
         this.resource_rules,
         this.class_default,
         this.resource_default);
     }
   }
 
   private static final class Rule
   {
-    final JCRuleConclusion conclusion;
-    final Pattern          pattern;
-    final boolean          quick;
+    private final JCRuleConclusion conclusion;
+    private final Pattern pattern;
+    private final boolean quick;
 
     Rule(
       final Pattern in_pattern,
       final boolean in_quick,
       final JCRuleConclusion in_conclusion)
     {
       this.pattern = NullCheck.notNull(in_pattern);
       this.quick = in_quick;
       this.conclusion = NullCheck.notNull(in_conclusion);
     }
 
     boolean matches(
       final String name)
     {
       final Matcher m = this.pattern.matcher(name);
       return m.matches();
     }
   }
 
   private static final Logger LOG;
 
   static {
-    LOG =
-      NullCheck.notNull(LoggerFactory.getLogger(JCSequentialPolicy.class));
+    LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSequentialPolicy.class));
   }
 
   private static JCRuleConclusion checkRules(
     final String type,
     final String name,
     final JCRuleConclusion default_conclusion,
     final List<Rule> rules)
   {
     JCSequentialPolicy.LOG.debug("{} check {}", type, name);
 
     JCRuleConclusion current_conclusion = default_conclusion;
     boolean done = false;
     for (int index = 0; index < rules.size(); ++index) {
       final Rule rule = rules.get(index);
 
       final boolean match = rule.matches(name);
       if (match) {
         current_conclusion = rule.conclusion;
         if (rule.quick) {
           done = true;
         }
       }
 
       JCSequentialPolicy.LOG.debug(
         "rule [{}]: quick:{} pattern:{} match:{} conclusion:{}",
         index,
         rule.quick,
         rule.pattern,
         match,
         rule.conclusion);
 
       if (done) {
         break;
       }
     }
 
     JCSequentialPolicy.LOG.info("class {} {}", current_conclusion, name);
     return current_conclusion;
   }
 
   /**
    * @param class_default
    *          The default conclusion for classes
    * @param resource_default
    *          The default conclusion for resources
    * @return A new policy builder
    */
 
   public static JCSequentialPolicyBuilderType newEmptyPolicyBuilder(
     final JCRuleConclusion class_default,
     final JCRuleConclusion resource_default)
   {
     return new Builder(class_default, resource_default);
   }
 
   private final JCRuleConclusion class_default;
   private final List<Rule>       class_rules;
   private final JCRuleConclusion resource_default;
   private final List<Rule>       resource_rules;
 
   private JCSequentialPolicy(
     final List<Rule> in_class_rules,
     final List<Rule> in_resource_rules,
     final JCRuleConclusion in_class_default,
     final JCRuleConclusion in_resource_default)
   {
     this.class_rules = NullCheck.notNull(in_class_rules);
     this.resource_rules = NullCheck.notNull(in_resource_rules);
     this.class_default = NullCheck.notNull(in_class_default);
     this.resource_default = NullCheck.notNull(in_resource_default);
   }
 
   @Override public boolean policyAllowsClass(
     final String name)
   {
     NullCheck.notNull(name);
 
-    final JCRuleConclusion current_conclusion =
-      JCSequentialPolicy.checkRules(
-        "class",
-        name,
-        this.class_default,
-        this.class_rules);
+    final JCRuleConclusion current_conclusion = JCSequentialPolicy.checkRules(
+      "class", name, this.class_default, this.class_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 
   @Override public boolean policyAllowsResource(
     final String name)
   {
     NullCheck.notNull(name);
 
-    final JCRuleConclusion current_conclusion =
-      JCSequentialPolicy.checkRules(
-        "resource",
-        name,
-        this.resource_default,
-        this.resource_rules);
+    final JCRuleConclusion current_conclusion = JCSequentialPolicy.checkRules(
+      "resource", name, this.resource_default, this.resource_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 }
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
index 30b59fb..cbd9bee 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
@@ -1,21 +1,21 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
 /**
  * Core types and functions.
  */
 
-@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.core;
\ No newline at end of file
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.core;
diff --git a/io7m-jcage-core/src/site/site.xml b/io7m-jcage-core/src/site/site.xml
index 90d0609..2e43e13 100644
--- a/io7m-jcage-core/src/site/site.xml
+++ b/io7m-jcage-core/src/site/site.xml
@@ -1,14 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="io7m-jcage-core">
+<project>
 
   <body>
-    <menu ref="reports"/>
+    <menu name="Project">
+      <item name="Overview" href="index.html"/>
+      <item name="Releases" href="releases.html"/>
+      <item name="Documentation" href="releases.html#Documentation"/>
+      <item name="Changes" href="changes.html"/>
+      <item name="Sources" href="source-repository.html"/>
+      <item name="License" href="license.html"/>
+      <item name="Issues" href="issue-tracking.html"/>
+      <item name="Contacts" href="team-list.html"/>
+      <item name="Dependencies" href="dependencies.html"/>
+      <item name="Metadata" href="project-info.html"/>
+    </menu>
+    <menu name="Parent" ref="parent"/>
+    <menu name="Modules" ref="modules"/>
   </body>
 
-  <skin>
-    <groupId>com.io7m.mvn-skin</groupId>
-    <artifactId>io7m-mvn-skin</artifactId>
-    <version>1.5.0</version>
-  </skin>
-
 </project>
diff --git a/io7m-jcage-core/src/site/xdoc/changes.xml.vm b/io7m-jcage-core/src/site/xdoc/changes.xml.vm
index 0257932..71f87e7 100644
--- a/io7m-jcage-core/src/site/xdoc/changes.xml.vm
+++ b/io7m-jcage-core/src/site/xdoc/changes.xml.vm
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Changes</title>
   </properties>
   <body>
     <section name="Changes">
-      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for the package changelog. 
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for the package changelog.
     </section>
   </body>
 </document>
-
diff --git a/io7m-jcage-core/src/site/xdoc/license.xml b/io7m-jcage-core/src/site/xdoc/license.xml
deleted file mode 100644
index 1a28f59..0000000
--- a/io7m-jcage-core/src/site/xdoc/license.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>License</title>
-  </properties>
-
-  <body>
-    <section name="License">
-      <source>
-Copyright © 2015 &lt;code@io7m.com> http://io7m.com
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-      </source>
-    </section>
-  </body>
-
-</document>
diff --git a/io7m-jcage-core/src/site/xdoc/releases.xml.vm b/io7m-jcage-core/src/site/xdoc/releases.xml.vm
index 6321253..aba1f49 100644
--- a/io7m-jcage-core/src/site/xdoc/releases.xml.vm
+++ b/io7m-jcage-core/src/site/xdoc/releases.xml.vm
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Releases</title>
   </properties>
   <body>
     <section name="Releases">
-      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for releases and documentation.
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for releases and documentation.
     </section>
   </body>
 </document>
-
diff --git a/io7m-jcage-documentation/io7m-jcage-documentation.iml b/io7m-jcage-documentation/io7m-jcage-documentation.iml
new file mode 100644
index 0000000..8d7b2d9
--- /dev/null
+++ b/io7m-jcage-documentation/io7m-jcage-documentation.iml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="io7m-jcage-core" />
+    <orderEntry type="library" name="Maven: com.io7m.jnull:io7m-jnull-core:1.0.1" level="project" />
+    <orderEntry type="library" name="Maven: com.io7m.junreachable:io7m-junreachable-core:1.0.1" level="project" />
+    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.12" level="project" />
+    <orderEntry type="library" name="Maven: org.valid4j:valid4j:0.4.0" level="project" />
+    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
+    <orderEntry type="module" module-name="io7m-jcage-examples" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/io7m-jcage-documentation/pom.xml b/io7m-jcage-documentation/pom.xml
index 0379d47..92722e8 100644
--- a/io7m-jcage-documentation/pom.xml
+++ b/io7m-jcage-documentation/pom.xml
@@ -1,429 +1,296 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>0.1.0</version>
+    <version>1.0.0</version>
   </parent>
   <artifactId>io7m-jcage-documentation</artifactId>
 
   <packaging>jar</packaging>
   <description>Run-time configurable JVM sandboxing (Documentation)</description>
-  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <url>http://io7m.github.io/jcage</url>
   <name>${project.artifactId}</name>
 
-  <licenses>
-    <license>
-      <name>ISC License</name>
-      <url>http://www.opensource.org/licenses/isc-license.txt</url>
-    </license>
-  </licenses>
-
   <scm>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
-    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+    <url>${project.parent.scm.url}</url>
+    <connection>${project.parent.scm.connection}</connection>
+    <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
-  <developers>
-    <developer>
-      <id>io7m</id>
-      <name>io7m</name>
-      <email>code@io7m.com</email>
-      <url>http://io7m.com</url>
-    </developer>
-  </developers>
-
-  <issueManagement>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <system>Fossil</system>
-  </issueManagement>
-
-  <distributionManagement>
-    <site>
-      <id>io7m</id>
-      <name>io7m.com</name>
-      <url>${project.url}</url>
-    </site>
-  </distributionManagement>
-
-  <mailingLists>
-    <mailingList>
-      <name>io7m-jcage</name>
-      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
-      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
-      <post>io7m-jcage@lists.io7m.com</post>
-      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
-    </mailingList>
-  </mailingLists>
-
-  <prerequisites>
-    <maven>2.2.1</maven>
-  </prerequisites>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-  </properties>
-
   <dependencies>
-    <dependency>
-      <groupId>com.io7m.jstructural</groupId>
-      <artifactId>io7m-jstructural-tools</artifactId>
-      <version>[4.0.0, 5.0.0)</version>
-    </dependency>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>io7m-jcage-core</artifactId>
       <version>${project.version}</version>
     </dependency>
-
-    <!-- Depend on the javadoc for each module, in order to aggregate it. -->
     <dependency>
       <groupId>${project.groupId}</groupId>
-      <artifactId>io7m-jcage-core</artifactId>
+      <artifactId>io7m-jcage-examples</artifactId>
       <version>${project.version}</version>
-      <classifier>javadoc</classifier>
     </dependency>
   </dependencies>
 
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.7</version>
-        <configuration>
-          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>3.3</version>
-      </plugin>
-    </plugins>
-  </reporting>
-
   <build>
     <plugins>
-      <!-- Plugin versions -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clean-plugin</artifactId>
-        <version>2.5</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.7</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <version>2.4</version>
-      </plugin>
-
       <!-- Require JDK >= 1.6 -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
+        <version>3.3</version>
         <configuration>
           <source>1.6</source>
           <target>1.6</target>
         </configuration>
       </plugin>
 
       <!-- Produce custom manifest in jar files -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
-        <version>2.4</version>
         <configuration>
           <archive>
             <manifestEntries>
               <Specification-Title>${project.name}</Specification-Title>
               <Specification-Version>${project.version}</Specification-Version>
               <Specification-Vendor>io7m.com</Specification-Vendor>
               <Implementation-Title>${project.name}</Implementation-Title>
               <Implementation-Version>${project.version}</Implementation-Version>
               <Implementation-Vendor>io7m.com</Implementation-Vendor>
               <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
               <Built-By>io7m</Built-By>
               <Sealed>true</Sealed>
             </manifestEntries>
           </archive>
         </configuration>
       </plugin>
 
       <!-- Create source jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-        <version>2.2.1</version>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
-              <goal>jar</goal>
+              <goal>jar-no-fork</goal>
+              <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Copy documentation resources into build directory -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
-        <version>2.6</version>
         <executions>
           <execution>
             <id>copy-documentation-resources</id>
             <goals>
               <goal>copy-resources</goal>
             </goals>
             <phase>generate-resources</phase>
             <configuration>
               <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
               <resources>
                 <resource>
                   <directory>src/main/resources/com/io7m/jcage/documentation/</directory>
                   <filtering>true</filtering>
                 </resource>
               </resources>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
+      <!-- Unpack sources into documentation directory -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-sources</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>${project.groupId}</groupId>
+                  <artifactId>io7m-jcage-core</artifactId>
+                  <classifier>sources</classifier>
+                  <version>${project.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
+                  <includes>**\/*.java</includes>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>${project.groupId}</groupId>
+                  <artifactId>io7m-jcage-examples</artifactId>
+                  <classifier>sources</classifier>
+                  <version>${project.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
+                  <includes>**\/*.java</includes>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
       <!-- Produce documentation -->
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>1.2.1</version>
+        <groupId>com.io7m.jstructural</groupId>
+        <artifactId>io7m-jstructural-maven-plugin</artifactId>
         <executions>
           <execution>
             <id>make-documentation-single</id>
             <phase>prepare-package</phase>
             <goals>
-              <goal>java</goal>
+              <goal>transform</goal>
             </goals>
             <configuration>
-              <mainClass>com.io7m.jcage.documentation.MakeDocumentation</mainClass>
-              <arguments>
-                <argument>--xhtml-single</argument>
-                <argument>${project.build.directory}/documentation/documentation.xml</argument>
-                <argument>${project.build.directory}/documentation/</argument>
-                <argument>--xhtml-body-start</argument>
-                <argument>${project.build.directory}/documentation/brand.xml</argument>
-              </arguments>
+              <documentFile>${project.build.directory}/documentation/documentation.xml</documentFile>
+              <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
+              <brandFile>${project.build.directory}/documentation/brand.xml</brandFile>
+              <pagination>XHTML_SINGLE</pagination>
             </configuration>
           </execution>
           <execution>
             <id>make-documentation-multi</id>
             <phase>prepare-package</phase>
             <goals>
-              <goal>java</goal>
+              <goal>transform</goal>
             </goals>
             <configuration>
-              <mainClass>com.io7m.jcage.documentation.MakeDocumentation</mainClass>
-              <arguments>
-                <argument>--xhtml-multi</argument>
-                <argument>${project.build.directory}/documentation/documentation.xml</argument>
-                <argument>${project.build.directory}/documentation/</argument>
-                <argument>--xhtml-body-start</argument>
-                <argument>${project.build.directory}/documentation/brand.xml</argument>
-              </arguments>
+              <documentFile>${project.build.directory}/documentation/documentation.xml</documentFile>
+              <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
+              <brandFile>${project.build.directory}/documentation/brand.xml</brandFile>
+              <pagination>XHTML_MULTI</pagination>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Javadoc handling -->
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.9.1</version>
         <executions>
           <!-- Produce javadoc jar for Central -->
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
           <!-- Produce aggregate dependency javadocs -->
           <execution>
             <id>javadoc-aggregate</id>
             <phase>package</phase>
             <goals>
               <goal>javadoc</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
               <includeDependencySources>true</includeDependencySources>
               <includeTransitiveDependencySources>true</includeTransitiveDependencySources>
               <dependencySourceIncludes>
                 <dependencySourceSet>com.io7m.jcage*</dependencySourceSet>
               </dependencySourceIncludes>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Produce documentation archive -->
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.4</version>
         <configuration>
           <descriptors>
             <descriptor>src/main/assembly/documentation.xml</descriptor>
           </descriptors>
         </configuration>
         <executions>
           <execution>
             <id>make-assembly</id>
             <phase>package</phase>
             <goals>
               <goal>single</goal>
             </goals>
             <configuration>
               <appendAssemblyId>false</appendAssemblyId>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Unpack the documentation archive to the parent's generated site staging directory. -->
       <!-- This is arguably abusive, but there appears to be no other way to achieve it. -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>truezip-maven-plugin</artifactId>
-        <version>1.2</version>
         <inherited>false</inherited>
         <executions>
           <execution>
             <id>copy-site-documentation</id>
             <goals>
               <goal>copy</goal>
             </goals>
             <phase>site</phase>
             <configuration>
               <verbose>true</verbose>
               <fileset>
                 <directory>${project.build.directory}/${project.name}-${project.version}.zip/${project.name}-${project.version}/</directory>
                 <outputDirectory>${project.parent.build.directory}/staging/documentation/</outputDirectory>
               </fileset>
             </configuration>
           </execution>
         </executions>
       </plugin>
     </plugins>
-
-    <!-- Allow deployment over ssh -->
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-ssh-external</artifactId>
-        <version>2.2</version>
-      </extension>
-    </extensions>
-
-    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
-          <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.sonatype.maven.plugin</groupId>
-                    <artifactId>emma-maven-plugin</artifactId>
-                    <versionRange>[1.2,)</versionRange>
-                    <goals>
-                      <goal>instrument</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
-  <!-- Sign artifacts when deploying to io7m -->
-  <profiles>
-    <profile>
-      <id>io7m-deployment-private</id>
-      <activation>
-        <property>
-          <name>io7m.deployment</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.4</version>
-            <executions>
-              <execution>
-                <id>sign-artifacts</id>
-                <phase>verify</phase>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
index 8421474..95a61a5 100644
--- a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
+++ b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
@@ -27,17 +27,25 @@ import java.net.URL;
 public final class Documentation
 {
+  private Documentation()
+  {
+    throw new AssertionError("Unreachable code!");
+  }
+
+  /**
+   * @return The resource URL of the documentation
+   */
+
   public static URI getDocumentationXMLLocation()
   {
     try {
-      final URL url =
-        Documentation.class
-          .getResource("/com/io7m/jcage/documentation/documentation.xml");
+      final URL url = Documentation.class.getResource(
+        "/com/io7m/jcage/documentation/documentation.xml");
       assert url != null;
       final URI uri = url.toURI();
       assert uri != null;
       return uri;
     } catch (final URISyntaxException e) {
       throw new AssertionError(e);
     }
   }
 }
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/MakeDocumentation.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/MakeDocumentation.java
deleted file mode 100644
index bfd4978..0000000
--- a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/MakeDocumentation.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright © 2014 <code@io7m.com> http://io7m.com
- * 
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- * 
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
- * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-package com.io7m.jcage.documentation;
-
-import com.io7m.jstructural.tools.JSCMain;
-
-final class MakeDocumentation
-{
-  public static void main(
-    final String[] args)
-    throws Throwable
-  {
-    JSCMain.run(JSCMain.getLog(false), args);
-  }
-}
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/dai.xml b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/dai.xml
new file mode 100644
index 0000000..1eecba4
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/dai.xml
@@ -0,0 +1,335 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright © 2015 <code@io7m.com> http://io7m.com
+
+  Permission to use, copy, modify, and/or distribute this software for any
+  purpose with or without fee is hereby granted, provided that the above
+  copyright notice and this permission notice appear in all copies.
+
+  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+  -->
+
+<s:part
+  xmlns:s="http://schemas.io7m.com/structural/2.1.0"
+  xmlns:xi="http://www.w3.org/2001/XInclude">
+
+  <s:part-title>Design And Implementation</s:part-title>
+  <s:part-contents/>
+
+  <s:section xml:id="dai">
+    <s:section-title>Design And Implementation</s:section-title>
+    <s:section-contents/>
+    <s:subsection xml:id="dai.jvm_security">
+      <s:subsection-title>JVM Security Model</s:subsection-title>
+      <s:paragraph>
+        The Java Virtual Machine (JVM) has a fairly rich security model that
+        can assign sets of permissions to code. All classes loaded by
+        <s:term s:type="term">class loaders</s:term> in the virtual
+        machine have associated <s:term s:type="term">code sources</s:term>.
+        A <s:term s:type="term">code source</s:term>, as represented by
+        the <s:term s:type="type">java.security.CodeSource</s:term> type,
+        consists of a URL that indicates from where the code was loaded,
+        and zero or more cryptographic <s:term s:type="term">signatures</s:term>.
+        The JVM associates a set of <s:term s:type="term">Permissions</s:term>,
+        as represented by subclasses of the
+        <s:term s:type="type">java.security.Permission</s:term> type,
+        with each <s:term s:type="term">code source</s:term>. The permissions
+        are assigned by consulting a <s:term s:type="term">policy</s:term>,
+        as represented by the
+        <s:term s:type="type">java.security.Policy</s:term> type,
+        when a given class is loaded.
+      </s:paragraph>
+      <s:paragraph>
+        In order to actually enforce the security policy, any operation
+        that requires privileges must check if that operation is allowed
+        to proceed by asking the current JVM-global
+        <s:term s:type="term">security manager</s:term>, as represented
+        by the <s:term s:type="type">java.lang.SecurityManager</s:term>
+        type. The <s:term s:type="type">SecurityManager</s:term> is actually
+        a historical leftover and nowadays simply delegates all requests
+        to a JVM-global <s:term s:type="term">access controller</s:term>,
+        as represented
+        by the <s:term s:type="type">java.security.AccessController</s:term>
+        type. All privileged operations have associated
+        <s:term s:type="type">java.security.Permission</s:term> values,
+        and the job of the <s:term s:type="term">access controller</s:term>
+        is simply to determine if a privileged operation that requires
+        permission <s:term s:type="type">P</s:term> being performed by code
+        from <s:term s:type="term">code source</s:term>
+        <s:term s:type="type">C</s:term> is allowed to proceed, given
+        the set of permissions <s:term s:type="type">Q</s:term> granted
+        to <s:term s:type="type">C</s:term> by the current security policy.
+        When an operation that requires privileges is attempted, the
+        <s:term s:type="term ">access controller</s:term> walks the
+        call stack and checks that each class on the call stack has
+        the required permissions to perform the operation. If any class
+        does not have the required permissions, a
+        <s:term s:type="type">SecurityException</s:term> is raised. This
+        provides a strong security guarantee:
+        Assume that a class <s:term s:type="type">C</s:term> has permission
+        to execute a privileged operation
+        <s:term s:type="variable">O</s:term>, and a method
+        <s:term s:type="function">m</s:term> is defined on
+        <s:term s:type="type">C</s:term> that performs the privileged
+        operation. Assume that a class <s:term s:type="type">D</s:term>
+        exists that does not have permission to perform
+        <s:term s:type="variable">O</s:term>. Without the JVM's
+        call-stack-based security checks, if code in
+        <s:term s:type="type">D</s:term> managed to call
+        <s:term s:type="function">C.m</s:term>, then it would effectively
+        have been able to perform <s:term s:type="variable">O</s:term>
+        without actually having permission to do so! However, with the
+        JVM's existing call-stack-based permission checks, the JVM will
+        walk the call stack and notice that <s:term s:type="type">D</s:term>
+        does not have permission to perform the operation, and raise
+        <s:term s:type="type">SecurityException</s:term> before the operation
+        can proceed.
+      </s:paragraph>
+      <s:paragraph xml:id="dai.jvm_security.do_privileged">
+        However, it is typically necessary to selectively allow privileged
+        operations to be performed on behalf of unprivileged code. The
+        <s:term s:type="term ">access controller</s:term> provides a standard
+        method named <s:term s:type="function">doPrivileged()</s:term>
+        that allows exactly this. The details of how this works are
+        given in the
+        <s:link-external s:target="http://docs.oracle.com/javase/7/docs/technotes/guides/security/doprivileged.html">JRE documentation</s:link-external>.
+        Informally, extending the example above, if
+        <s:term s:type="function">C.m</s:term> were to wrap the privileged
+        operation <s:term s:type="variable">O</s:term> in a call to
+        <s:term s:type="function">doPrivileged()</s:term>, then
+        <s:term s:type="type">D</s:term> (or indeed any other class) could
+        call <s:term s:type="function">C.m</s:term> and have the privileged
+        operation successfully performed on their behalf. However, if
+        <s:term s:type="type">D</s:term> tried to perform
+        a privileged operation by itself, even if it wrapped the operation
+        in a call to <s:term s:type="function">doPrivileged()</s:term>,
+        the operation would fail with a
+        <s:term s:type="type">SecurityException</s:term>. Intuitively,
+        the <s:term s:type="function">doPrivileged()</s:term> call can be
+        thought of as being able to temporarily grant one's own privileges
+        to peers, but cannot be used to raise one's own level of privilege.
+      </s:paragraph>
+    </s:subsection>
+
+    <s:subsection xml:id="dai.jcage_security">
+      <s:subsection-title>JCage Security</s:subsection-title>
+      <s:paragraph>
+        Given the above description of the security model, it becomes
+        apparent that all one needs to do to place a piece of code in
+        a restrictive <s:term s:type="term">sandbox</s:term> is to assign
+        the code a specific <s:term s:type="term">code source</s:term>
+        and then grant the code source a very limited set of permissions.
+        If the JVM security components are to be trusted, then the code
+        should be sufficiently isolated.
+      </s:paragraph>
+      <s:paragraph>
+        Unfortunately, although the JVM security components are believed
+        to be reasonably correct, the default implementation of the
+        <s:term s:type="type">java.security.Policy</s:term> type is entirely
+        limited to loading a static policy from a policy file on JVM startup,
+        and does not allow for any kind of run-time configuration. Additionally,
+        for historical reasons, the default implementation of the
+        <s:term s:type="type">java.lang.SecurityManager</s:term> type
+        omits a few useful security checks.
+      </s:paragraph>
+      <s:paragraph>
+        The <s:term s:type="package">${project.parent.name}</s:term>
+        package provides
+        a user-friendly interface to a trivial run-time configurable
+        <s:term s:type="type">java.security.Policy</s:term> interface.
+        In practical terms, the package places code into user-created
+        <s:term s:type="term">sandboxes</s:term> by loading all classes
+        inside the sandboxes using a custom
+        <s:term s:type="term">java.lang.ClassLoader</s:term> implementation
+        that assigns a <s:term s:type="term">code source</s:term> specific
+        to each sandbox. Each sandbox
+        <s:term s:type="term">code source</s:term> is given a run-time
+        configurable set of permissions. A custom
+        <s:term s:type="type">java.lang.SecurityManager</s:term> re-enables
+        the two checks that were historically omitted. Essentially, the
+        entire package is a very thin wrapper around the existing
+        security mechanisms.
+      </s:paragraph>
+    </s:subsection>
+
+    <s:subsection xml:id="dai.class_loading">
+      <s:subsection-title>Class Loading</s:subsection-title>
+      <s:paragraph>
+        Astute readers will have noticed that it would be very difficult
+        to communicate with code loaded inside a sandbox if absolutely
+        all of the sandboxed classes were loaded with the sandbox-specific
+        <s:term s:type="term">ClassLoader</s:term>. The reason for this
+        is that the JVM effectively considers instances of the same
+        class loaded with different class loaders to be
+        <s:term s:type="term">different classes</s:term>. Therefore, if
+        a user wants to pass a value of class <s:term s:type="term">T</s:term>
+        to a given sandbox, then the sandbox must have access to the
+        class as loaded by the <s:term s:type="term">host's</s:term>
+        class loader. The <s:term s:type="package">${project.parent.name}</s:term>
+        package therefore allows sandbox classloaders to delegate loading
+        to another given <s:term s:type="term">ClassLoader</s:term> according
+        to a user-defined policy. For example, it is possible to define
+        a policy that loads all classes using the sandbox
+        <s:term s:type="term">ClassLoader</s:term> except for
+        <s:term s:type="term">T</s:term>, which is delegated to the
+        user-provided <s:term s:type="term">ClassLoader</s:term>. This
+        allows the host and sandbox to share the same loaded version of
+        <s:term s:type="term">T</s:term>.
+      </s:paragraph>
+      <s:paragraph>
+        To facilitate this, each sandbox has a reference to a
+        <s:term s:type="term">host classloader</s:term>
+        <s:term s:type="variable">HCL</s:term>, a
+        <s:term s:type="term">host classloader policy</s:term>
+        <s:term s:type="variable">HCP</s:term>, a
+        <s:term s:type="term">sandbox class resolver</s:term>
+        <s:term s:type="variable">SCR</s:term>, and
+        a <s:term s:type="term">sandbox classloader policy</s:term>
+        <s:term s:type="variable">SCP</s:term>.
+        A private <s:term s:type="term">sandbox classloader</s:term>
+        <s:term s:type="variable">SC</s:term>
+        is created for the sandbox when the sandbox is created.
+        When the sandbox needs to load a class
+        <s:term s:type="variable">T</s:term>, it consults
+        <s:term s:type="variable">SCP</s:term> to
+        determine whether or not it is allowed to try to use
+        <s:term s:type="variable">SC</s:term> to
+        load <s:term s:type="variable">T</s:term>. If it is allowed, then the
+        <s:term s:type="variable">SCR</s:term> resolves
+        <s:term s:type="variable">T</s:term> and loads it using
+        <s:term s:type="variable">SC</s:term>. The loading operation
+        assigns <s:term s:type="variable">T</s:term> a sandbox-specific
+        <s:term s:type="term">code source</s:term> and the class instance
+        is distinct from any other loaded instances of the
+        <s:term s:type="variable">T</s:term> class in the JVM.
+        However, if the <s:term s:type="variable">SCP</s:term> indicates
+        that the sandbox is not allowed to load the class directly, then
+        it attempts to delegate the operation to
+        <s:term s:type="variable">HCL</s:term>. The
+        <s:term s:type="variable">HCP</s:term> is consulted to see if
+        <s:term s:type="variable">HCL</s:term> is allowed to load the
+        class. If it is allowed, the class is loaded. If it is not allowed,
+        a <s:term s:type="type">SecurityException</s:term> is raised.
+      </s:paragraph>
+      <s:paragraph>
+        The end result of this procedure is that it is possible to
+        arrange for the host and a sandbox to share the same instances
+        of one or more loaded classes. Note that this is not a
+        security-critical decision: Even if the sandboxed code obtains
+        a reference to a class that can perform dangerous or privileged
+        operations, the JVM's call-stack-based security checks ensure
+        that the sandboxed code does not gain permissions simply by having
+        access to a class. The class loader policies simply exist to
+        organize class sharing between the host and a sandbox - not to
+        control privileged operations.
+      </s:paragraph>
+    </s:subsection>
+
+    <s:subsection xml:id="dai.priv_ops">
+      <s:subsection-title>Privileged Operations</s:subsection-title>
+      <s:paragraph>
+        It is sometimes desirable for sandboxed code to
+        be temporarily granted privileges. For example, it could be desirable
+        to forbid all filesystem access to sandboxed code, and then provide
+        an API to the sandboxed code that provides an extremely limited
+        set of privileged I/O operations. As described
+        <s:link s:target="dai.jvm_security.do_privileged">earlier</s:link>,
+        the JVM provides a standard mechanism for this:
+        <s:term s:type="type">java.security.AccessController.doPrivileged()</s:term>.
+        The <s:link-external s:target="com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java">sandboxed_1/SandboxerMain</s:link-external>
+        examples shows how this is used. The
+        <s:term s:type="type">SandboxListenerType</s:term> is
+        loaded on the host (it is automatically loaded by the system
+        classloader simply due to being referenced by the
+        <s:term s:type="type">SandboxerMain</s:term> type). The
+        sandboxed code is given access to the
+        <s:term s:type="type">SandboxListenerType</s:term> by the
+        <s:link s:target="dai.class_loading">class loading policy</s:link>.
+        The <s:term s:type="function">onMessageReceived</s:term> method
+        performs a privileged operation that the sandboxed
+        <s:link-external s:target="com/io7m/jcage/examples/sandboxed_1/Sandboxed.java">sandboxed_1/Sandboxed</s:link-external>
+        class would not otherwise be able to perform by itself, even if
+        it attempted to call
+        <s:term s:type="type">AccessController.doPrivileged()</s:term>
+        itself. The <s:term s:type="type">Sandboxed</s:term> code also
+        attempts to raise its own privileges and the JVM can be seen to
+        block this operation.
+      </s:paragraph>
+    </s:subsection>
+
+    <s:subsection>
+      <s:subsection-title>JCage Insecurity</s:subsection-title>
+      <s:paragraph>
+        The <s:term s:type="package">${project.parent.name}</s:term> package
+        does not protect against anything that the default JVM security
+        model does not protect against. Specifically:
+      </s:paragraph>
+      <s:formal-item s:kind="specifications">
+        <s:formal-item-title>Insecurity</s:formal-item-title>
+        <s:list-unordered>
+          <s:list-item>
+            There is no protection against sandboxed code consuming vast
+            quantities of CPU time and slowing the rest of the system down.
+            This can be mitigated to some extent by running code in a
+            separate thread and using a <s:term s:type="term">watchdog</s:term>
+            to detect runaway threads. This is considered to be outside of
+            the scope of <s:term s:type="package">${project.parent.name}</s:term>.
+          </s:list-item>
+          <s:list-item>
+            There is no protection against sandboxed code consuming vast
+            quantities of heap space. The JVM currently has no means to
+            protect against this whatsoever.
+          </s:list-item>
+        </s:list-unordered>
+      </s:formal-item>
+    </s:subsection>
+
+    <s:subsection>
+      <s:subsection-title>Types</s:subsection-title>
+      <s:paragraph>
+        The <s:term s:type="package">${project.parent.name}</s:term>
+        implementation consists of the following basic classes:
+      </s:paragraph>
+      <s:formal-item s:kind="files">
+        <s:formal-item-title>Types</s:formal-item-title>
+        <s:table>
+          <s:table-summary>Types</s:table-summary>
+          <s:table-head>
+            <s:table-column-name>Type</s:table-column-name>
+            <s:table-column-name>Purpose</s:table-column-name>
+          </s:table-head>
+          <s:table-body>
+            <s:table-row>
+              <s:table-cell><s:link-external s:target="com/io7m/jcage/core/JCClassLoader.java">JCClassLoader.java</s:link-external></s:table-cell>
+              <s:table-cell>Loads classes and assigns sandbox-specific code sources.</s:table-cell>
+            </s:table-row>
+            <s:table-row>
+              <s:table-cell><s:link-external s:target="com/io7m/jcage/core/JCClassLoaderPolicyType.java">JCClassLoaderPolicyType.java</s:link-external></s:table-cell>
+              <s:table-cell>The implementation exposed by class loader policies, for selectively delegating classloading.</s:table-cell>
+            </s:table-row>
+            <s:table-row>
+              <s:table-cell><s:link-external s:target="com/io7m/jcage/core/JCPolicy.java">JCPolicy.java</s:link-external></s:table-cell>
+              <s:table-cell>A run-time configurable implementation of the standard Policy type.</s:table-cell>
+            </s:table-row>
+            <s:table-row>
+              <s:table-cell><s:link-external s:target="com/io7m/jcage/core/JCSecurityManager.java">JCSecurityManager.java</s:link-external></s:table-cell>
+              <s:table-cell>A security manager implementation that re-enables the historically omitted checks</s:table-cell>
+            </s:table-row>
+            <s:table-row>
+              <s:table-cell><s:link-external s:target="com/io7m/jcage/core/JCSandboxes.java">JCSandboxes.java</s:link-external></s:table-cell>
+              <s:table-cell>The default implementation of the user-visible sandbox creation interface</s:table-cell>
+            </s:table-row>
+          </s:table-body>
+        </s:table>
+      </s:formal-item>
+    </s:subsection>
+
+  </s:section>
+</s:part>
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
index 2b9cd43..47262f9 100644
--- a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
@@ -1,63 +1,60 @@
 .brand
 {
   font-size: 75%;
   font-family: monospace;
 }
 
 .brand_left
 {
   float: left;
 }
 
 .brand_right
 {
   text-align: right;
 }
 
 .package
 {
   font-family: monospace;
   font-weight: bold;
 }
 
 .attribute,
 .class,
 .command,
 .constant,
 .element,
 .file,
 .function,
 .keyword,
-.type
+.type,
+.variable
 {
   font-family: monospace;
 }
 
 .example, .license, .terminal
 {
   font-family:    monospace;
   border:         1px solid #ccc;
   padding-top:    1.0em;
   padding-left:   1.0em;
   padding-bottom: 1.0em;
   margin-top:     1.2em;
   overflow:       auto;
 }
 
 .dependencies table td
 {
   padding-right: 3.0em;
   font-family:   monospace;
   font-size:     9pt;
 }
 
-.platforms table td
+.examples table td
 {
   padding-right: 2.0em;
+  vertical-align: top;
 }
-.platforms table tbody,
-.platforms table thead
-{
-  font-size:     8pt;
-  font-family:   monospace;
-}
+
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml
index dda6942..6dc08de 100644
--- a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml
@@ -106,19 +106,22 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.]]>
         </s:verbatim>
       </s:paragraph>
     </s:section>
   </s:part>
 
+  <xi:include href="dai.xml" parse="xml"/>
+  <xi:include href="usage.xml" parse="xml"/>
+
   <s:part>
     <s:part-title>API Reference</s:part-title>
     <s:part-contents/>
     <s:section>
       <s:section-title>Javadoc</s:section-title>
       <s:paragraph>
         API documentation for the package is provided via the
         included <s:link-external s:target="apidocs">Javadoc</s:link-external>.
       </s:paragraph>
     </s:section>
   </s:part>
 
 </s:document>
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/usage.xml b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/usage.xml
new file mode 100644
index 0000000..c76082d
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/usage.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright © 2015 <code@io7m.com> http://io7m.com
+
+  Permission to use, copy, modify, and/or distribute this software for any
+  purpose with or without fee is hereby granted, provided that the above
+  copyright notice and this permission notice appear in all copies.
+
+  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+  -->
+
+<s:part
+  xmlns:s="http://schemas.io7m.com/structural/2.1.0"
+  xmlns:xi="http://www.w3.org/2001/XInclude">
+
+  <s:part-title>Usage</s:part-title>
+  <s:part-contents/>
+
+  <s:section xml:id="ex">
+    <s:section-title>Examples</s:section-title>
+    <s:section-contents/>
+
+    <s:formal-item s:kind="files" s:type="examples">
+      <s:formal-item-title>Examples</s:formal-item-title>
+      <s:table>
+        <s:table-summary>Examples</s:table-summary>
+        <s:table-head>
+          <s:table-column-name>Name</s:table-column-name>
+          <s:table-column-name>Description</s:table-column-name>
+        </s:table-head>
+        <s:table-body>
+          <s:table-row>
+            <s:table-cell><s:link-external s:target="com/io7m/jcage/examples/sandboxed_0/Sandboxed.java">sandboxed_0/Sandboxed.java</s:link-external></s:table-cell>
+            <s:table-cell>A sandboxed class that demonstrates an inability to performed privileged operations.</s:table-cell>
+          </s:table-row>
+          <s:table-row>
+            <s:table-cell><s:link-external s:target="com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java">sandboxed_0/SandboxerMain.java</s:link-external></s:table-cell>
+            <s:table-cell>The creation of a sandbox.</s:table-cell>
+          </s:table-row>
+          <s:table-row>
+            <s:table-cell><s:link-external s:target="com/io7m/jcage/examples/sandboxed_1/Sandboxed.java">sandboxed_1/Sandboxed.java</s:link-external></s:table-cell>
+            <s:table-cell>A sandboxed class that demonstrates an inability to performed privileged operations, but can call a host-provided API to perform privileged operations.</s:table-cell>
+          </s:table-row>
+          <s:table-row>
+            <s:table-cell><s:link-external s:target="com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java">sandboxed_1/SandboxerMain.java</s:link-external></s:table-cell>
+            <s:table-cell>The creation of a sandbox that allows selective privileged operations.</s:table-cell>
+          </s:table-row>
+        </s:table-body>
+      </s:table>
+    </s:formal-item>
+
+  </s:section>
+</s:part>
diff --git a/io7m-jcage-documentation/src/site/site.xml b/io7m-jcage-documentation/src/site/site.xml
index ae0746d..2e43e13 100644
--- a/io7m-jcage-documentation/src/site/site.xml
+++ b/io7m-jcage-documentation/src/site/site.xml
@@ -1,14 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="io7m-jcage-documentation">
+<project>
 
   <body>
-    <menu ref="reports"/>
+    <menu name="Project">
+      <item name="Overview" href="index.html"/>
+      <item name="Releases" href="releases.html"/>
+      <item name="Documentation" href="releases.html#Documentation"/>
+      <item name="Changes" href="changes.html"/>
+      <item name="Sources" href="source-repository.html"/>
+      <item name="License" href="license.html"/>
+      <item name="Issues" href="issue-tracking.html"/>
+      <item name="Contacts" href="team-list.html"/>
+      <item name="Dependencies" href="dependencies.html"/>
+      <item name="Metadata" href="project-info.html"/>
+    </menu>
+    <menu name="Parent" ref="parent"/>
+    <menu name="Modules" ref="modules"/>
   </body>
 
-  <skin>
-    <groupId>com.io7m.mvn-skin</groupId>
-    <artifactId>io7m-mvn-skin</artifactId>
-    <version>1.5.0</version>
-  </skin>
-
 </project>
diff --git a/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm b/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm
index dc8d66e..71f87e7 100644
--- a/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm
+++ b/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm
@@ -1,14 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Changes</title>
   </properties>
   <body>
     <section name="Changes">
-      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for the package changelog.
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for the package changelog.
     </section>
   </body>
 </document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/index.xml b/io7m-jcage-documentation/src/site/xdoc/index.xml
deleted file mode 100644
index a1757f5..0000000
--- a/io7m-jcage-documentation/src/site/xdoc/index.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>io7m-jcage-documentation</title>
-  </properties>
-
-  <body>
-    <subsection name="jcage-documentation">
-      The <var>jcage-documentation</var> package contains the documentation for the project.
-    </subsection>
-  </body>
-
-</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/license.xml b/io7m-jcage-documentation/src/site/xdoc/license.xml
deleted file mode 100644
index 1a28f59..0000000
--- a/io7m-jcage-documentation/src/site/xdoc/license.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>License</title>
-  </properties>
-
-  <body>
-    <section name="License">
-      <source>
-Copyright © 2015 &lt;code@io7m.com> http://io7m.com
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-      </source>
-    </section>
-  </body>
-
-</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/project-reports.xml b/io7m-jcage-documentation/src/site/xdoc/project-reports.xml
deleted file mode 100644
index 2125119..0000000
--- a/io7m-jcage-documentation/src/site/xdoc/project-reports.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>Reports</title>
-  </properties>
-
-  <body>
-    <subsection name="Reports">
-      No reports are currently available.
-    </subsection>
-  </body>
-
-</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm b/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm
index 6321253..aba1f49 100644
--- a/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm
+++ b/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Releases</title>
   </properties>
   <body>
     <section name="Releases">
-      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for releases and documentation.
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for releases and documentation.
     </section>
   </body>
 </document>
-
diff --git a/io7m-jcage-examples/io7m-jcage-examples.iml b/io7m-jcage-examples/io7m-jcage-examples.iml
new file mode 100644
index 0000000..38b1889
--- /dev/null
+++ b/io7m-jcage-examples/io7m-jcage-examples.iml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="io7m-jcage-core" />
+    <orderEntry type="library" name="Maven: com.io7m.jnull:io7m-jnull-core:1.0.1" level="project" />
+    <orderEntry type="library" name="Maven: com.io7m.junreachable:io7m-junreachable-core:1.0.1" level="project" />
+    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.12" level="project" />
+    <orderEntry type="library" name="Maven: org.valid4j:valid4j:0.4.0" level="project" />
+    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck:0.6" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: net.java:quickcheck-src-generator:0.6" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
+    <orderEntry type="library" scope="TEST" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/io7m-jcage-examples/pom.xml b/io7m-jcage-examples/pom.xml
index 2ecf644..cd1dd4f 100644
--- a/io7m-jcage-examples/pom.xml
+++ b/io7m-jcage-examples/pom.xml
@@ -1,359 +1,194 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>com.io7m.jcage</groupId>
     <artifactId>io7m-jcage</artifactId>
-    <version>0.1.0</version>
+    <version>1.0.0</version>
   </parent>
   <artifactId>io7m-jcage-examples</artifactId>
 
   <packaging>jar</packaging>
   <description>Run-time configurable JVM sandboxing (Examples)</description>
-  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <url>http://io7m.github.io/jcage</url>
   <name>${project.artifactId}</name>
 
-  <licenses>
-    <license>
-      <name>ISC License</name>
-      <url>http://www.opensource.org/licenses/isc-license.txt</url>
-    </license>
-  </licenses>
-
   <scm>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
-    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+    <url>${project.parent.scm.url}</url>
+    <connection>${project.parent.scm.connection}</connection>
+    <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
   </scm>
 
-  <developers>
-    <developer>
-      <id>io7m</id>
-      <name>io7m</name>
-      <email>code@io7m.com</email>
-      <url>http://io7m.com</url>
-    </developer>
-  </developers>
-
-  <issueManagement>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <system>Fossil</system>
-  </issueManagement>
-
-  <distributionManagement>
-    <site>
-      <id>io7m</id>
-      <name>io7m.com</name>
-      <url>${project.url}</url>
-    </site>
-  </distributionManagement>
-
-  <mailingLists>
-    <mailingList>
-      <name>io7m-jcage</name>
-      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
-      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
-      <post>io7m-jcage@lists.io7m.com</post>
-      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
-    </mailingList>
-  </mailingLists>
-
-  <prerequisites>
-    <maven>2.2.1</maven>
-  </prerequisites>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-  </properties>
-
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>io7m-jcage-core</artifactId>
       <version>${project.version}</version>
     </dependency>
 
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.12</version>
     </dependency>
     <dependency>
       <groupId>org.valid4j</groupId>
       <artifactId>valid4j</artifactId>
       <version>0.4.0</version>
     </dependency>
 
     <!--  Test suite -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
       <version>4.11</version>
     </dependency>
     <dependency>
       <groupId>net.java</groupId>
       <artifactId>quickcheck</artifactId>
       <version>0.6</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-core</artifactId>
       <version>1.1.3</version>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-classic</artifactId>
       <version>1.1.3</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
 
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.7</version>
-        <configuration>
-          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>3.3</version>
-      </plugin>
-    </plugins>
-  </reporting>
-
   <build>
     <plugins>
-      <!-- Plugin versions -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clean-plugin</artifactId>
-        <version>2.5</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.7</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <version>2.4</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-resources-plugin</artifactId>
-        <version>2.6</version>
-      </plugin>
-
-      <!-- Require JDK >= 1.7 -->
+      <!-- Redirect test output -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.18.1</version>
         <configuration>
-          <source>1.7</source>
-          <target>1.7</target>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
         </configuration>
       </plugin>
 
-      <!-- Redirect test output -->
+      <!-- Check style -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.15</version>
-        <configuration>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-        </configuration>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <dependencies>
+          <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>io7m-jcage-checkstyle</artifactId>
+            <version>${project.version}</version>
+          </dependency>
+        </dependencies>
+        <executions>
+          <execution>
+            <id>validate</id>
+            <phase>validate</phase>
+            <configuration>
+              <configLocation>com/io7m/jcage/checkstyle/checkstyle.xml
+              </configLocation>
+              <encoding>UTF-8</encoding>
+              <consoleOutput>true</consoleOutput>
+              <failsOnError>true</failsOnError>
+            </configuration>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
 
       <!-- Produce custom manifest in jar files -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
-        <version>2.4</version>
         <configuration>
           <archive>
             <manifestEntries>
               <Specification-Title>${project.name}</Specification-Title>
               <Specification-Version>${project.version}</Specification-Version>
               <Specification-Vendor>io7m.com</Specification-Vendor>
               <Implementation-Title>${project.name}</Implementation-Title>
               <Implementation-Version>${project.version}</Implementation-Version>
               <Implementation-Vendor>io7m.com</Implementation-Vendor>
               <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
               <Built-By>io7m</Built-By>
               <Sealed>true</Sealed>
             </manifestEntries>
           </archive>
         </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>jar</goal>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
       </plugin>
 
       <!-- Create source jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
-        <version>2.2.1</version>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>jar-no-fork</goal>
               <goal>test-jar-no-fork</goal>
             </goals>
             <configuration>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
 
       <!-- Create javadoc jar -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.9.1</version>
         <executions>
           <execution>
             <id>attach-javadocs</id>
             <phase>package</phase>
             <goals>
               <goal>jar</goal>
             </goals>
             <configuration>
               <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
               <archive>
                 <manifestEntries>
                   <Specification-Title>${project.name}</Specification-Title>
                   <Specification-Version>${project.version}</Specification-Version>
                   <Specification-Vendor>io7m.com</Specification-Vendor>
                   <Implementation-Title>${project.name}</Implementation-Title>
                   <Implementation-Version>${project.version}</Implementation-Version>
                   <Implementation-Vendor>io7m.com</Implementation-Vendor>
                   <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                   <Built-By>io7m</Built-By>
                 </manifestEntries>
               </archive>
             </configuration>
           </execution>
         </executions>
       </plugin>
-
-      <!-- Enable code coverage for unit tests -->
-      <plugin>
-        <groupId>org.sonatype.maven.plugin</groupId>
-        <artifactId>emma-maven-plugin</artifactId>
-        <version>1.2</version>
-        <executions>
-          <execution>
-            <phase>process-classes</phase>
-            <goals>
-              <goal>instrument</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
-
-    <!-- Allow deployment over ssh -->
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-ssh-external</artifactId>
-        <version>2.2</version>
-      </extension>
-    </extensions>
-
-    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
-          <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.sonatype.maven.plugin</groupId>
-                    <artifactId>emma-maven-plugin</artifactId>
-                    <versionRange>[1.2,)</versionRange>
-                    <goals>
-                      <goal>instrument</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
-  <!-- Sign artifacts when deploying to io7m -->
-  <profiles>
-    <profile>
-      <id>io7m-deployment-private</id>
-      <activation>
-        <property>
-          <name>io7m.deployment</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.4</version>
-            <executions>
-              <execution>
-                <id>sign-artifacts</id>
-                <phase>verify</phase>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java
index 0270bf1..6962bcf 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java
@@ -1,21 +1,21 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
  * 
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  * 
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
 /**
  * Example code.
  */
 
-@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples;
\ No newline at end of file
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples;
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java
index 7b8afed..5e0ef6a 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java
@@ -18,2 +18,4 @@ package com.io7m.jcage.examples.sandboxed_0;
 
+import com.io7m.junreachable.UnreachableCodeException;
+
 import java.io.FileNotFoundException;
@@ -21,28 +23,34 @@ import java.io.FileOutputStream;
 
-import com.io7m.junreachable.UnreachableCodeException;
+/**
+ * Some sandboxed code.
+ */
 
 public final class Sandboxed implements Runnable
 {
+  /**
+   * Primary constructor.
+   */
+
   public Sandboxed()
   {
 
   }
 
   @Override public void run()
   {
     System.out.println("Sandboxed: running sandboxed");
 
     try {
-      System.out
-        .println("Sandboxed: attempting to open file.txt (should fail)");
+      System.out.println("Sandboxed: attempting to open file.txt (should "
+                         + "fail)");
       new FileOutputStream("file.txt");
     } catch (final SecurityException e) {
-      System.out.println("Sandboxed: failed to open file.txt as expected: "
-        + e.getMessage());
+      System.out.println(
+        "Sandboxed: failed to open file.txt as expected: " + e.getMessage());
     } catch (final FileNotFoundException e) {
       throw new UnreachableCodeException(e);
     }
 
     System.out.println("Sandboxed: finished");
   }
 }
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java
index c52e6a9..6252266 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java
@@ -18,4 +18,2 @@ package com.io7m.jcage.examples.sandboxed_0;
 
-import java.security.Permissions;
-
 import com.io7m.jcage.core.JCClassLoaderPolicyType;
@@ -23,2 +21,3 @@ import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
 import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCClassNameResolverType;
 import com.io7m.jcage.core.JCSandboxType;
@@ -27,46 +26,101 @@ import com.io7m.jcage.core.JCSandboxesType;
 
+import java.security.Permissions;
+
+/**
+ * An example program that starts various sandboxes and demonstrates the
+ * isolation of the code within.
+ */
+
 public final class SandboxerMain
 {
+  private SandboxerMain()
+  {
+
+  }
+
+  /**
+   * Main program.
+   *
+   * @param args Command line arguments
+   *
+   * @throws Exception On errors
+   */
+
   public static void main(
-    final String args[])
+    final String[] args)
     throws Exception
   {
+    /**
+     * Retrieve access to the sandbox administration interface. This
+     * registers a security manager if required, and also performs an
+     * access check to prevent sandboxed code from trying to get access
+     * to the interface.
+     */
+
     final JCSandboxesType ss = JCSandboxes.get();
 
-    final String sandboxed_name = Sandboxed.class.getCanonicalName();
+    /**
+     * Get access to the system classloader and create a policy that indicates
+     * that it is allowed to load any classes it wants.
+     */
+
+    final ClassLoader host_classloader = ClassLoader.getSystemClassLoader();
+    final JCClassLoaderPolicyType host_classloader_policy =
+      JCClassLoaderPolicyUnrestricted.get();
+
+    /**
+     * Create a class resolver that can load classes from the classpath
+     * on behalf of the sandbox.
+     */
 
+    final JCClassNameResolverType sandbox_class_resolver =
+      JCClassNameResolverClasspath.get();
+
+    /**
+     * Create a policy that denies the sandbox from loading any classes
+     * except for the single Sandboxed class.
+     */
+
+    final String sandboxed_name = Sandboxed.class.getCanonicalName();
     final JCClassLoaderPolicyType sandbox_class_policy =
-      new JCClassLoaderPolicyType() {
+      new JCClassLoaderPolicyType()
+      {
         @Override public boolean policyAllowsResource(
           final String name)
         {
           return false;
         }
 
         @Override public boolean policyAllowsClass(
           final String name)
         {
-          return name.equals(sandboxed_name);
+          return name.startsWith(sandboxed_name);
         }
       };
 
-    final Permissions p = new Permissions();
+    /**
+     * Create a new sandbox called "example" that has no permissions.
+     */
+
+    final JCSandboxType s = ss.createSandbox(
+      "example",
+      host_classloader,
+      host_classloader_policy,
+      sandbox_class_resolver,
+      sandbox_class_policy,
+      new Permissions());
 
-    final JCSandboxType s =
-      ss.createSandbox(
-        "example",
-        ClassLoader.getSystemClassLoader(),
-        JCClassLoaderPolicyUnrestricted.get(),
-        JCClassNameResolverClasspath.get(),
-        sandbox_class_policy,
-        p);
+    /**
+     * Get access to a sandbox-loaded class, create a new instance of it,
+     * and execute it.
+     */
 
-    final Class<Runnable> c =
+    @SuppressWarnings("unchecked") final Class<Runnable> c =
       (Class<Runnable>) s.getSandboxLoadedClass(sandboxed_name);
     final Runnable r = c.newInstance();
 
     System.out.println("Running sandboxed code...");
     r.run();
     System.out.println("Finished running sandboxed code.");
   }
 }
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java
index 40c063e..403b511 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java
@@ -1,21 +1,21 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
  * 
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  * 
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
 /**
  * Example code.
  */
 
-@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples.sandboxed_0;
\ No newline at end of file
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples.sandboxed_0;
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java
index f7a51b2..b26913b 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java
@@ -18,6 +18,16 @@ package com.io7m.jcage.examples.sandboxed_1;
 
+/**
+ * A listener that can return messages from a sandbox.
+ */
+
 public interface SandboxListenerType
 {
+  /**
+   * A message {@code m} was received.
+   *
+   * @param m The message
+   */
+
   void onMessageReceived(
     String m);
 }
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java
index 0a302da..2b201d2 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java
@@ -18,2 +18,5 @@ package com.io7m.jcage.examples.sandboxed_1;
 
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
 import java.io.FilePermission;
@@ -22,49 +25,63 @@ import java.security.PrivilegedAction;
 
-import com.io7m.jnull.NullCheck;
-import com.io7m.jnull.Nullable;
+/**
+ * Some sandboxed code.
+ */
 
-@SuppressWarnings("synthetic-access") public final class Sandboxed implements
-  Runnable
+public final class Sandboxed implements Runnable
 {
+  private final SandboxListenerType listener;
+
+  /**
+   * Construct the sandboxed code.
+   *
+   * @param in_listener A listener that can return results to the sandbox
+   */
+
+  public Sandboxed(
+    final SandboxListenerType in_listener)
+  {
+    this.listener = NullCheck.notNull(in_listener);
+  }
+
+  /**
+   * A privileged operation.
+   */
+
   private static void tryPrivileged()
   {
-    System.out
-      .println("Sandboxed: Attempting to perform privileged operation");
+    System.out.println("Sandboxed: Attempting to perform privileged operation");
 
     try {
-      final SecurityManager sm =
-        NullCheck.notNull(System.getSecurityManager());
+      final SecurityManager sm = NullCheck.notNull(System.getSecurityManager());
       sm.checkPermission(new FilePermission("/tmp/z", "write"));
     } catch (final SecurityException e) {
-      System.out
-        .println("Sandboxed: Correctly failed to perform privileged operation: "
-          + e.getMessage());
+      System.out.println(
+        "Sandboxed: Correctly failed to perform privileged operation: "
+        + e.getMessage());
     }
   }
 
-  private final SandboxListenerType listener;
-
-  public Sandboxed(
-    final SandboxListenerType in_listener)
-  {
-    this.listener = NullCheck.notNull(in_listener);
-  }
-
   @Override public void run()
   {
     System.out.println("Sandboxed: running sandboxed");
     System.out.println("Sandboxed: calling listener");
     this.listener.onMessageReceived("Hello");
     System.out.println("Sandboxed: called listener");
 
-    AccessController.doPrivileged(new PrivilegedAction<Void>() {
-      @Override public @Nullable Void run()
+    /**
+     * Try to perform a privileged operation. This will obviously fail.
+     */
+
+    AccessController.doPrivileged(
+      new PrivilegedAction<Void>()
       {
-        Sandboxed.tryPrivileged();
-        return null;
-      }
-    });
+        @Override public @Nullable Void run()
+        {
+          Sandboxed.tryPrivileged();
+          return null;
+        }
+      });
 
     System.out.println("Sandboxed: finished");
   }
 }
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java
index aea2732..554ceca 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java
@@ -18,8 +18,2 @@ package com.io7m.jcage.examples.sandboxed_1;
 
-import java.io.FilePermission;
-import java.lang.reflect.Constructor;
-import java.security.AccessController;
-import java.security.Permissions;
-import java.security.PrivilegedAction;
-
 import com.io7m.jcage.core.JCClassLoaderPolicyType;
@@ -27,2 +21,3 @@ import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
 import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCClassNameResolverType;
 import com.io7m.jcage.core.JCSandboxType;
@@ -33,70 +28,136 @@ import com.io7m.jnull.Nullable;
 
+import java.io.FilePermission;
+import java.lang.reflect.Constructor;
+import java.security.AccessController;
+import java.security.Permissions;
+import java.security.PrivilegedAction;
+
+/**
+ * An example program that starts various sandboxes and demonstrates the
+ * isolation of the code within.
+ */
+
 public final class SandboxerMain
 {
+  private SandboxerMain()
+  {
+
+  }
+
+  /**
+   * Main program.
+   *
+   * @param args Command line arguments
+   *
+   * @throws Exception On errors
+   */
+
   public static void main(
-    final String args[])
+    final String[] args)
     throws Exception
   {
+    /**
+     * Retrieve access to the sandbox administration interface. This
+     * registers a security manager if required, and also performs an
+     * access check to prevent sandboxed code from trying to get access
+     * to the interface.
+     */
+
     final JCSandboxesType ss = JCSandboxes.get();
 
-    final String sandboxed_name = Sandboxed.class.getCanonicalName();
+    /**
+     * Get access to the system classloader and create a policy that indicates
+     * that it is allowed to load any classes it wants.
+     */
+
+    final ClassLoader host_classloader = ClassLoader.getSystemClassLoader();
+    final JCClassLoaderPolicyType host_classloader_policy =
+      JCClassLoaderPolicyUnrestricted.get();
+
+    /**
+     * Create a class resolver that can load classes from the classpath
+     * on behalf of the sandbox.
+     */
 
+    final JCClassNameResolverType sandbox_class_resolver =
+      JCClassNameResolverClasspath.get();
+
+    /**
+     * Create a policy that denies the sandbox from loading any classes
+     * except for the single Sandboxed class.
+     */
+
+    final String sandboxed_name = Sandboxed.class.getCanonicalName();
     final JCClassLoaderPolicyType sandbox_class_policy =
-      new JCClassLoaderPolicyType() {
+      new JCClassLoaderPolicyType()
+      {
         @Override public boolean policyAllowsResource(
           final String name)
         {
           return false;
         }
 
         @Override public boolean policyAllowsClass(
           final String name)
         {
           return name.startsWith(sandboxed_name);
         }
       };
 
-    final Permissions p = new Permissions();
+    /**
+     * Create a new sandbox called "example" that has no permissions.
+     */
 
-    final JCSandboxType s =
-      ss.createSandbox(
-        "example",
-        ClassLoader.getSystemClassLoader(),
-        JCClassLoaderPolicyUnrestricted.get(),
-        JCClassNameResolverClasspath.get(),
-        sandbox_class_policy,
-        p);
+    final JCSandboxType s = ss.createSandbox(
+      "example",
+      host_classloader,
+      host_classloader_policy,
+      sandbox_class_resolver,
+      sandbox_class_policy,
+      new Permissions());
 
-    final Class<Runnable> c =
+    /**
+     * Get access to a sandbox-loaded class. Instantiate it, and execute it.
+     */
+
+    @SuppressWarnings("unchecked") final Class<Runnable> c =
       (Class<Runnable>) s.getSandboxLoadedClass(sandboxed_name);
     final Constructor<Runnable> cc =
       c.getConstructor(SandboxListenerType.class);
 
-    final SandboxListenerType listener = new SandboxListenerType() {
+    /**
+     * A function evaluated by sandboxed code that demonstrates how
+     * sandboxed code can be granted temporary privileges with
+     * `AccessController.doPrivileged`.
+     */
+
+    final SandboxListenerType listener = new SandboxListenerType()
+    {
       @Override public void onMessageReceived(
         final String m)
       {
         System.out.println("Listener: received: " + m);
 
-        AccessController.doPrivileged(new PrivilegedAction<Void>() {
-          @Override public @Nullable Void run()
+        AccessController.doPrivileged(
+          new PrivilegedAction<Void>()
           {
-            System.out
-              .println("Listener: Attempting to perform privileged operation");
-            final SecurityManager sm =
-              NullCheck.notNull(System.getSecurityManager());
-            sm.checkPermission(new FilePermission("/tmp/z", "write"));
-            System.out.println("Listener: Performed privileged operation");
-            return null;
-          }
-        });
+            @Override public @Nullable Void run()
+            {
+              System.out.println(
+                "Listener: Attempting to perform privileged operation");
+              final SecurityManager sm =
+                NullCheck.notNull(System.getSecurityManager());
+              sm.checkPermission(new FilePermission("/tmp/z", "write"));
+              System.out.println("Listener: Performed privileged operation");
+              return null;
+            }
+          });
       }
     };
 
     final Runnable r = cc.newInstance(listener);
-
     System.out.println("Running sandboxed code...");
     r.run();
     System.out.println("Finished running sandboxed code.");
   }
 }
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java
index 697bf9e..049bdf5 100644
--- a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java
@@ -1,21 +1,21 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
  * 
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  * 
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
 /**
  * Example code.
  */
 
-@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples.sandboxed_1;
\ No newline at end of file
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples.sandboxed_1;
diff --git a/io7m-jcage-examples/src/site/site.xml b/io7m-jcage-examples/src/site/site.xml
index 27c297e..2e43e13 100644
--- a/io7m-jcage-examples/src/site/site.xml
+++ b/io7m-jcage-examples/src/site/site.xml
@@ -1,14 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="io7m-jcage-examples">
+<project>
 
   <body>
-    <menu ref="reports"/>
+    <menu name="Project">
+      <item name="Overview" href="index.html"/>
+      <item name="Releases" href="releases.html"/>
+      <item name="Documentation" href="releases.html#Documentation"/>
+      <item name="Changes" href="changes.html"/>
+      <item name="Sources" href="source-repository.html"/>
+      <item name="License" href="license.html"/>
+      <item name="Issues" href="issue-tracking.html"/>
+      <item name="Contacts" href="team-list.html"/>
+      <item name="Dependencies" href="dependencies.html"/>
+      <item name="Metadata" href="project-info.html"/>
+    </menu>
+    <menu name="Parent" ref="parent"/>
+    <menu name="Modules" ref="modules"/>
   </body>
 
-  <skin>
-    <groupId>com.io7m.mvn-skin</groupId>
-    <artifactId>io7m-mvn-skin</artifactId>
-    <version>1.5.0</version>
-  </skin>
-
 </project>
diff --git a/io7m-jcage-examples/src/site/xdoc/changes.xml.vm b/io7m-jcage-examples/src/site/xdoc/changes.xml.vm
index 0257932..71f87e7 100644
--- a/io7m-jcage-examples/src/site/xdoc/changes.xml.vm
+++ b/io7m-jcage-examples/src/site/xdoc/changes.xml.vm
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Changes</title>
   </properties>
   <body>
     <section name="Changes">
-      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for the package changelog. 
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for the package changelog.
     </section>
   </body>
 </document>
-
diff --git a/io7m-jcage-examples/src/site/xdoc/index.xml b/io7m-jcage-examples/src/site/xdoc/index.xml
deleted file mode 100644
index 377a470..0000000
--- a/io7m-jcage-examples/src/site/xdoc/index.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>io7m-jcage-examples</title>
-  </properties>
-
-  <body>
-    <subsection name="jcage-examples">
-      The <var>jcage-examples</var> package provides example code.
-    </subsection>
-  </body>
-
-</document>
diff --git a/io7m-jcage-examples/src/site/xdoc/releases.xml.vm b/io7m-jcage-examples/src/site/xdoc/releases.xml.vm
index 6321253..aba1f49 100644
--- a/io7m-jcage-examples/src/site/xdoc/releases.xml.vm
+++ b/io7m-jcage-examples/src/site/xdoc/releases.xml.vm
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Releases</title>
   </properties>
   <body>
     <section name="Releases">
-      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for releases and documentation.
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a>
+      for releases and documentation.
     </section>
   </body>
 </document>
-
diff --git a/io7m-jcage.iml b/io7m-jcage.iml
new file mode 100644
index 0000000..66b3d79
--- /dev/null
+++ b/io7m-jcage.iml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 29ca050..b3ecf7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,203 +1,247 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
-  <version>0.1.0</version>
+  <version>1.0.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
-  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <url>http://io7m.github.io/jcage/</url>
 
   <modules>
+    <module>io7m-jcage-checkstyle</module>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
     <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
-      <url>http://www.opensource.org/licenses/isc-license.txt</url>
+      <url>http://io7m.com/license/isc.txt</url>
     </license>
   </licenses>
 
   <scm>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
-    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+    <url>https://github.com/io7m/jcage</url>
+    <connection>scm:git:https://github.com/io7m/jcage</connection>
+    <developerConnection>scm:git:https://github.com/io7m/jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
-    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
-    <system>Fossil</system>
+    <url>http://github.com/io7m/jcage/issues</url>
+    <system>GitHub Issues</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
-      <id>io7m</id>
-      <name>io7m.com</name>
+      <id>GitHub</id>
+      <name>GitHub</name>
       <url>${project.url}</url>
     </site>
+    <repository>
+      <id>sonatype-nexus-staging</id>
+      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+    </repository>
   </distributionManagement>
 
-  <mailingLists>
-    <mailingList>
-      <name>io7m-jcage</name>
-      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
-      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
-      <post>io7m-jcage@lists.io7m.com</post>
-      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
-    </mailingList>
-  </mailingLists>
+  <ciManagement>
+    <system>Travis CI</system>
+    <url>https://travis-ci.org/io7m/jcage</url>
+  </ciManagement>
 
   <prerequisites>
     <maven>2.2.1</maven>
   </prerequisites>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.7</version>
+        <version>2.8</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>3.3</version>
+        <version>3.4</version>
+        <configuration>
+          <validate>true</validate>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.0</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
-    <plugins>
-      <!-- Plugin versions -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clean-plugin</artifactId>
-        <version>2.5</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.7</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <version>2.4</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-resources-plugin</artifactId>
-        <version>2.6</version>
-      </plugin>
-    </plugins>
-
-    <!-- Allow deployment over ssh -->
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-ssh-external</artifactId>
-        <version>2.2</version>
-      </extension>
-    </extensions>
-
-    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
     <pluginManagement>
       <plugins>
+        <!-- Submodule plugin versions -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>2.6.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <version>2.8</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-deploy-plugin</artifactId>
+          <version>2.8.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.5.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>2.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.6</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.4</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.10.3</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.18.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <version>2.15</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.5.5</version>
+        </plugin>
+        <plugin>
+          <groupId>com.io7m.jstructural</groupId>
+          <artifactId>io7m-jstructural-maven-plugin</artifactId>
+          <version>4.2.0</version>
+        </plugin>
         <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>truezip-maven-plugin</artifactId>
+          <version>1.2</version>
+        </plugin>
+
+        <!-- Require JDK >= 1.7 -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.3</version>
+          <configuration>
+            <source>1.7</source>
+            <target>1.7</target>
+          </configuration>
+        </plugin>
+
+        <!-- Sonatype OSSRH deployment -->
+        <plugin>
+          <groupId>org.sonatype.plugins</groupId>
+          <artifactId>nexus-staging-maven-plugin</artifactId>
+          <version>1.6.5</version>
+          <extensions>true</extensions>
           <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.sonatype.maven.plugin</groupId>
-                    <artifactId>emma-maven-plugin</artifactId>
-                    <versionRange>[1.2,)</versionRange>
-                    <goals>
-                      <goal>instrument</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
+            <serverId>sonatype-nexus-staging</serverId>
+            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
+            <autoReleaseAfterClose>true</autoReleaseAfterClose>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
+
+    <!-- Allow deployment over ssh -->
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>2.9</version>
+      </extension>
+    </extensions>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.4</version>
+            <version>1.6</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
 </project>
diff --git a/src/site/site.xml b/src/site/site.xml
index 5300175..62c894f 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -1,14 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="io7m-jcage">
+<project>
 
   <body>
-    <menu ref="reports"/>
+    <menu name="Project">
+      <item name="Overview" href="index.html"/>
+      <item name="Releases" href="releases.html"/>
+      <item name="Documentation" href="releases.html#Documentation"/>
+      <item name="Changes" href="changes.html"/>
+      <item name="Sources" href="source-repository.html"/>
+      <item name="License" href="license.html"/>
+      <item name="Issues" href="issue-tracking.html"/>
+      <item name="Contacts" href="team-list.html"/>
+      <item name="Continuous Integration" href="integration.html"/>
+      <item name="Metadata" href="project-info.html"/>
+      <item name="Reports" href="project-reports.html"/>
+    </menu>
+    <menu name="Modules" ref="modules"/>
   </body>
 
   <skin>
-    <groupId>com.io7m.mvn-skin</groupId>
-    <artifactId>io7m-mvn-skin</artifactId>
-    <version>1.5.0</version>
+    <groupId>com.io7m.plain-site-skin</groupId>
+    <artifactId>plain-site-skin</artifactId>
+    <version>0.1.0</version>
   </skin>
 
 </project>
+
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
deleted file mode 100644
index 9475b57..0000000
--- a/src/site/xdoc/index.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>io7m-jcage</title>
-  </properties>
-
-  <body>
-    <subsection name="jcage">
-      <p>The <var>jcage</var> package implements a run-time configurable
-      code sandboxing system using the standard JVM security components.
-    </subsection>
-  </body>
-
-</document>
diff --git a/src/site/xdoc/index.xml.vm b/src/site/xdoc/index.xml.vm
new file mode 100644
index 0000000..0a01d09
--- /dev/null
+++ b/src/site/xdoc/index.xml.vm
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>io7m-jcage</title>
+  </properties>
+
+  <body>
+    <subsection name="jcage">
+      <p>
+        The <b>jcage</b> package implements a run-time configurable
+        sandbox using the JVM's security components.
+      </p>
+    </subsection>
+    <subsection name="Features">
+      <ul>
+        <li>Simple, verifiable sandboxing: Tiny trusted code base using nothing beyond the standard JVM security components to enforce a security policy.</li>
+        <li>Documentation!</li>
+        <li>Full unit test coverage.</li>
+        <li>ISC license.</li>
+      </ul>
+    </subsection>
+  </body>
+
+</document>
diff --git a/src/site/xdoc/license.xml b/src/site/xdoc/license.xml
deleted file mode 100644
index 1a28f59..0000000
--- a/src/site/xdoc/license.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document
-  xmlns="http://maven.apache.org/XDOC/2.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
-
-  <properties>
-    <title>License</title>
-  </properties>
-
-  <body>
-    <section name="License">
-      <source>
-Copyright © 2015 &lt;code@io7m.com> http://io7m.com
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-      </source>
-    </section>
-  </body>
-
-</document>
diff --git a/src/site/xdoc/releases.xml.vm b/src/site/xdoc/releases.xml.vm
index de9f92c..f1fcf27 100644
--- a/src/site/xdoc/releases.xml.vm
+++ b/src/site/xdoc/releases.xml.vm
@@ -1,32 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document
   xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Releases</title>
   </properties>
   <body>
     <section name="Releases">
       <p>The current release is ${project.version}.</p>
       <p>
         Source code and binaries are available from the
-        <a href="http://mvn-repository.io7m.com/${siteReposDirectory}/">repository</a>.
+        <a href="https://repo1.maven.org/maven2/${siteReposDirectory}/">repository</a>.
       </p>
     </section>
     <section name="Documentation">
       <p>
         Documentation for the ${project.version} release is available for reading online.
       </p>
       <ul>
         <li><a href="documentation/index-m.xhtml">XHTML - one page per section</a></li>
         <li><a href="documentation/index.xhtml">XHTML - single page</a></li>
       </ul>
       <p>
         Older documentation is archived in the
-        <a href="http://mvn-repository.io7m.com/${siteDocumentationDirectory}">repository</a>.
+        <a href="https://repo1.maven.org/maven2/${siteDocumentationDirectory}">repository</a>.
       </p>
     </section>
   </body>
 </document>
 

commit 9d6a71d246983bd30fadecb0d68357775f90a4e8
Author: Mark Raynsford <code@io7m.com>
Date:   Sat May 30 18:57:38 2015 +0000

    Add example code

diff --git a/io7m-jcage-examples/pom.xml b/io7m-jcage-examples/pom.xml
new file mode 100644
index 0000000..2ecf644
--- /dev/null
+++ b/io7m-jcage-examples/pom.xml
@@ -0,0 +1,359 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.io7m.jcage</groupId>
+    <artifactId>io7m-jcage</artifactId>
+    <version>0.1.0</version>
+  </parent>
+  <artifactId>io7m-jcage-examples</artifactId>
+
+  <packaging>jar</packaging>
+  <description>Run-time configurable JVM sandboxing (Examples)</description>
+  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <name>${project.artifactId}</name>
+
+  <licenses>
+    <license>
+      <name>ISC License</name>
+      <url>http://www.opensource.org/licenses/isc-license.txt</url>
+    </license>
+  </licenses>
+
+  <scm>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
+    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+  </scm>
+
+  <developers>
+    <developer>
+      <id>io7m</id>
+      <name>io7m</name>
+      <email>code@io7m.com</email>
+      <url>http://io7m.com</url>
+    </developer>
+  </developers>
+
+  <issueManagement>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <system>Fossil</system>
+  </issueManagement>
+
+  <distributionManagement>
+    <site>
+      <id>io7m</id>
+      <name>io7m.com</name>
+      <url>${project.url}</url>
+    </site>
+  </distributionManagement>
+
+  <mailingLists>
+    <mailingList>
+      <name>io7m-jcage</name>
+      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
+      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
+      <post>io7m-jcage@lists.io7m.com</post>
+      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
+    </mailingList>
+  </mailingLists>
+
+  <prerequisites>
+    <maven>2.2.1</maven>
+  </prerequisites>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>io7m-jcage-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.7.12</version>
+    </dependency>
+    <dependency>
+      <groupId>org.valid4j</groupId>
+      <artifactId>valid4j</artifactId>
+      <version>0.4.0</version>
+    </dependency>
+
+    <!--  Test suite -->
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+      <version>4.11</version>
+    </dependency>
+    <dependency>
+      <groupId>net.java</groupId>
+      <artifactId>quickcheck</artifactId>
+      <version>0.6</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-core</artifactId>
+      <version>1.1.3</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+      <version>1.1.3</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.7</version>
+        <configuration>
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.3</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <build>
+    <plugins>
+      <!-- Plugin versions -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.5</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.7</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.6</version>
+      </plugin>
+
+      <!-- Require JDK >= 1.7 -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.1</version>
+        <configuration>
+          <source>1.7</source>
+          <target>1.7</target>
+        </configuration>
+      </plugin>
+
+      <!-- Redirect test output -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.15</version>
+        <configuration>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+        </configuration>
+      </plugin>
+
+      <!-- Produce custom manifest in jar files -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>io7m.com</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>io7m.com</Implementation-Vendor>
+              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+              <Built-By>io7m</Built-By>
+              <Sealed>true</Sealed>
+            </manifestEntries>
+          </archive>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>jar</goal>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Create source jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.2.1</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>jar-no-fork</goal>
+              <goal>test-jar-no-fork</goal>
+            </goals>
+            <configuration>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Create javadoc jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.9.1</version>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Enable code coverage for unit tests -->
+      <plugin>
+        <groupId>org.sonatype.maven.plugin</groupId>
+        <artifactId>emma-maven-plugin</artifactId>
+        <version>1.2</version>
+        <executions>
+          <execution>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>instrument</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+
+    <!-- Allow deployment over ssh -->
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>2.2</version>
+      </extension>
+    </extensions>
+
+    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.sonatype.maven.plugin</groupId>
+                    <artifactId>emma-maven-plugin</artifactId>
+                    <versionRange>[1.2,)</versionRange>
+                    <goals>
+                      <goal>instrument</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <!-- Sign artifacts when deploying to io7m -->
+  <profiles>
+    <profile>
+      <id>io7m-deployment-private</id>
+      <activation>
+        <property>
+          <name>io7m.deployment</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+</project>
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java
new file mode 100644
index 0000000..0270bf1
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/**
+ * Example code.
+ */
+
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples;
\ No newline at end of file
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java
new file mode 100644
index 0000000..7b8afed
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/Sandboxed.java
@@ -0,0 +1,48 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.examples.sandboxed_0;
+
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+
+import com.io7m.junreachable.UnreachableCodeException;
+
+public final class Sandboxed implements Runnable
+{
+  public Sandboxed()
+  {
+
+  }
+
+  @Override public void run()
+  {
+    System.out.println("Sandboxed: running sandboxed");
+
+    try {
+      System.out
+        .println("Sandboxed: attempting to open file.txt (should fail)");
+      new FileOutputStream("file.txt");
+    } catch (final SecurityException e) {
+      System.out.println("Sandboxed: failed to open file.txt as expected: "
+        + e.getMessage());
+    } catch (final FileNotFoundException e) {
+      throw new UnreachableCodeException(e);
+    }
+
+    System.out.println("Sandboxed: finished");
+  }
+}
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java
new file mode 100644
index 0000000..c52e6a9
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/SandboxerMain.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.examples.sandboxed_0;
+
+import java.security.Permissions;
+
+import com.io7m.jcage.core.JCClassLoaderPolicyType;
+import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
+import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCSandboxType;
+import com.io7m.jcage.core.JCSandboxes;
+import com.io7m.jcage.core.JCSandboxesType;
+
+public final class SandboxerMain
+{
+  public static void main(
+    final String args[])
+    throws Exception
+  {
+    final JCSandboxesType ss = JCSandboxes.get();
+
+    final String sandboxed_name = Sandboxed.class.getCanonicalName();
+
+    final JCClassLoaderPolicyType sandbox_class_policy =
+      new JCClassLoaderPolicyType() {
+        @Override public boolean policyAllowsResource(
+          final String name)
+        {
+          return false;
+        }
+
+        @Override public boolean policyAllowsClass(
+          final String name)
+        {
+          return name.equals(sandboxed_name);
+        }
+      };
+
+    final Permissions p = new Permissions();
+
+    final JCSandboxType s =
+      ss.createSandbox(
+        "example",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        sandbox_class_policy,
+        p);
+
+    final Class<Runnable> c =
+      (Class<Runnable>) s.getSandboxLoadedClass(sandboxed_name);
+    final Runnable r = c.newInstance();
+
+    System.out.println("Running sandboxed code...");
+    r.run();
+    System.out.println("Finished running sandboxed code.");
+  }
+}
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java
new file mode 100644
index 0000000..40c063e
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_0/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/**
+ * Example code.
+ */
+
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples.sandboxed_0;
\ No newline at end of file
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java
new file mode 100644
index 0000000..f7a51b2
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxListenerType.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.examples.sandboxed_1;
+
+public interface SandboxListenerType
+{
+  void onMessageReceived(
+    String m);
+}
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java
new file mode 100644
index 0000000..0a302da
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/Sandboxed.java
@@ -0,0 +1,70 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.examples.sandboxed_1;
+
+import java.io.FilePermission;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
+@SuppressWarnings("synthetic-access") public final class Sandboxed implements
+  Runnable
+{
+  private static void tryPrivileged()
+  {
+    System.out
+      .println("Sandboxed: Attempting to perform privileged operation");
+
+    try {
+      final SecurityManager sm =
+        NullCheck.notNull(System.getSecurityManager());
+      sm.checkPermission(new FilePermission("/tmp/z", "write"));
+    } catch (final SecurityException e) {
+      System.out
+        .println("Sandboxed: Correctly failed to perform privileged operation: "
+          + e.getMessage());
+    }
+  }
+
+  private final SandboxListenerType listener;
+
+  public Sandboxed(
+    final SandboxListenerType in_listener)
+  {
+    this.listener = NullCheck.notNull(in_listener);
+  }
+
+  @Override public void run()
+  {
+    System.out.println("Sandboxed: running sandboxed");
+    System.out.println("Sandboxed: calling listener");
+    this.listener.onMessageReceived("Hello");
+    System.out.println("Sandboxed: called listener");
+
+    AccessController.doPrivileged(new PrivilegedAction<Void>() {
+      @Override public @Nullable Void run()
+      {
+        Sandboxed.tryPrivileged();
+        return null;
+      }
+    });
+
+    System.out.println("Sandboxed: finished");
+  }
+}
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java
new file mode 100644
index 0000000..aea2732
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/SandboxerMain.java
@@ -0,0 +1,102 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.examples.sandboxed_1;
+
+import java.io.FilePermission;
+import java.lang.reflect.Constructor;
+import java.security.AccessController;
+import java.security.Permissions;
+import java.security.PrivilegedAction;
+
+import com.io7m.jcage.core.JCClassLoaderPolicyType;
+import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
+import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCSandboxType;
+import com.io7m.jcage.core.JCSandboxes;
+import com.io7m.jcage.core.JCSandboxesType;
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
+public final class SandboxerMain
+{
+  public static void main(
+    final String args[])
+    throws Exception
+  {
+    final JCSandboxesType ss = JCSandboxes.get();
+
+    final String sandboxed_name = Sandboxed.class.getCanonicalName();
+
+    final JCClassLoaderPolicyType sandbox_class_policy =
+      new JCClassLoaderPolicyType() {
+        @Override public boolean policyAllowsResource(
+          final String name)
+        {
+          return false;
+        }
+
+        @Override public boolean policyAllowsClass(
+          final String name)
+        {
+          return name.startsWith(sandboxed_name);
+        }
+      };
+
+    final Permissions p = new Permissions();
+
+    final JCSandboxType s =
+      ss.createSandbox(
+        "example",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        sandbox_class_policy,
+        p);
+
+    final Class<Runnable> c =
+      (Class<Runnable>) s.getSandboxLoadedClass(sandboxed_name);
+    final Constructor<Runnable> cc =
+      c.getConstructor(SandboxListenerType.class);
+
+    final SandboxListenerType listener = new SandboxListenerType() {
+      @Override public void onMessageReceived(
+        final String m)
+      {
+        System.out.println("Listener: received: " + m);
+
+        AccessController.doPrivileged(new PrivilegedAction<Void>() {
+          @Override public @Nullable Void run()
+          {
+            System.out
+              .println("Listener: Attempting to perform privileged operation");
+            final SecurityManager sm =
+              NullCheck.notNull(System.getSecurityManager());
+            sm.checkPermission(new FilePermission("/tmp/z", "write"));
+            System.out.println("Listener: Performed privileged operation");
+            return null;
+          }
+        });
+      }
+    };
+
+    final Runnable r = cc.newInstance(listener);
+
+    System.out.println("Running sandboxed code...");
+    r.run();
+    System.out.println("Finished running sandboxed code.");
+  }
+}
diff --git a/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java
new file mode 100644
index 0000000..697bf9e
--- /dev/null
+++ b/io7m-jcage-examples/src/main/java/com/io7m/jcage/examples/sandboxed_1/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/**
+ * Example code.
+ */
+
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.examples.sandboxed_1;
\ No newline at end of file
diff --git a/io7m-jcage-examples/src/site/site.xml b/io7m-jcage-examples/src/site/site.xml
new file mode 100644
index 0000000..27c297e
--- /dev/null
+++ b/io7m-jcage-examples/src/site/site.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="io7m-jcage-examples">
+
+  <body>
+    <menu ref="reports"/>
+  </body>
+
+  <skin>
+    <groupId>com.io7m.mvn-skin</groupId>
+    <artifactId>io7m-mvn-skin</artifactId>
+    <version>1.5.0</version>
+  </skin>
+
+</project>
diff --git a/io7m-jcage-examples/src/site/xdoc/changes.xml.vm b/io7m-jcage-examples/src/site/xdoc/changes.xml.vm
new file mode 100644
index 0000000..0257932
--- /dev/null
+++ b/io7m-jcage-examples/src/site/xdoc/changes.xml.vm
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Changes</title>
+  </properties>
+  <body>
+    <section name="Changes">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for the package changelog. 
+    </section>
+  </body>
+</document>
+
diff --git a/io7m-jcage-examples/src/site/xdoc/index.xml b/io7m-jcage-examples/src/site/xdoc/index.xml
new file mode 100644
index 0000000..377a470
--- /dev/null
+++ b/io7m-jcage-examples/src/site/xdoc/index.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>io7m-jcage-examples</title>
+  </properties>
+
+  <body>
+    <subsection name="jcage-examples">
+      The <var>jcage-examples</var> package provides example code.
+    </subsection>
+  </body>
+
+</document>
diff --git a/io7m-jcage-examples/src/site/xdoc/license.xml b/io7m-jcage-examples/src/site/xdoc/license.xml
new file mode 100644
index 0000000..1a28f59
--- /dev/null
+++ b/io7m-jcage-examples/src/site/xdoc/license.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>License</title>
+  </properties>
+
+  <body>
+    <section name="License">
+      <source>
+Copyright © 2015 &lt;code@io7m.com> http://io7m.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+      </source>
+    </section>
+  </body>
+
+</document>
diff --git a/io7m-jcage-examples/src/site/xdoc/releases.xml.vm b/io7m-jcage-examples/src/site/xdoc/releases.xml.vm
new file mode 100644
index 0000000..6321253
--- /dev/null
+++ b/io7m-jcage-examples/src/site/xdoc/releases.xml.vm
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Releases</title>
+  </properties>
+  <body>
+    <section name="Releases">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for releases and documentation.
+    </section>
+  </body>
+</document>
+
diff --git a/pom.xml b/pom.xml
index 99e6b94..29ca050 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,202 +1,203 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
   <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
   <url>http://mvn.io7m.com/${project.artifactId}/</url>
 
   <modules>
     <module>io7m-jcage-core</module>
     <module>io7m-jcage-documentation</module>
+    <module>io7m-jcage-examples</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://www.opensource.org/licenses/isc-license.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
     <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
     <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
     <system>Fossil</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
       <id>io7m</id>
       <name>io7m.com</name>
       <url>${project.url}</url>
     </site>
   </distributionManagement>
 
   <mailingLists>
     <mailingList>
       <name>io7m-jcage</name>
       <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
       <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
       <post>io7m-jcage@lists.io7m.com</post>
       <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
     </mailingList>
   </mailingLists>
 
   <prerequisites>
     <maven>2.2.1</maven>
   </prerequisites>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.7</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.3</version>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.0</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <plugins>
       <!-- Plugin versions -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-clean-plugin</artifactId>
         <version>2.5</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-deploy-plugin</artifactId>
         <version>2.7</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-install-plugin</artifactId>
         <version>2.4</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <version>2.6</version>
       </plugin>
     </plugins>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.2</version>
       </extension>
     </extensions>
 
     <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
     <pluginManagement>
       <plugins>
         <plugin>
           <groupId>org.eclipse.m2e</groupId>
           <artifactId>lifecycle-mapping</artifactId>
           <version>1.0.0</version>
           <configuration>
             <lifecycleMappingMetadata>
               <pluginExecutions>
                 <pluginExecution>
                   <pluginExecutionFilter>
                     <groupId>org.sonatype.maven.plugin</groupId>
                     <artifactId>emma-maven-plugin</artifactId>
                     <versionRange>[1.2,)</versionRange>
                     <goals>
                       <goal>instrument</goal>
                     </goals>
                   </pluginExecutionFilter>
                   <action>
                     <ignore></ignore>
                   </action>
                 </pluginExecution>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.4</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
 </project>

commit 350ebe78318b774d12bf2d5495fc3c53325cbaec
Author: Mark Raynsford <code@io7m.com>
Date:   Sat May 30 18:05:02 2015 +0000

    Rename method

diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
index 3d9708b..7ab4617 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
@@ -28,220 +28,220 @@ import com.io7m.jnull.NullCheck;
 import com.io7m.junreachable.UnreachableCodeException;
 
 /**
  * <p>
  * A sequential, pattern-based policy.
  * </p>
  *
  * <p>
  * Incoming class and resource names are matched against a series of
  * <i>rules</i>. A rule specifies a <i>pattern</i> and a <i>conclusion</i>.
  * The <i>current conclusion</i> is initially set to the default value as
  * defined by the policy. If a <i>rule's</i> <i>pattern</i> matches the
  * current name, the <i>current conclusion</i> becomes that of the rule. Rules
  * are evaluated from first to last. If a rule is marked as <i>quick</i>,
  * evaluation of rules stops at that point. When evaluation has completed, the
  * <i>current conclusion</i> is returned and used to determine whether or not
  * access is permitted.
  * </p>
  * <p>
  * This scheme was inspired by the OpenBSD PF firewall.
  * </p>
  *
  * @see <a href="http://www.openbsd.org/faq/pf/filter.html">OpenBSD PF</a>
  */
 
 @SuppressWarnings({ "boxing", "synthetic-access" }) public final class JCSequentialPolicy implements
   JCClassLoaderPolicyType
 {
   private static final class Builder implements JCSequentialPolicyBuilderType
   {
     private final JCRuleConclusion class_default;
     private final List<Rule>       class_rules;
     private final JCRuleConclusion resource_default;
     private final List<Rule>       resource_rules;
 
     public Builder(
       final JCRuleConclusion in_class_default,
       final JCRuleConclusion in_resource_default)
     {
       this.class_default = NullCheck.notNull(in_class_default);
       this.resource_default = NullCheck.notNull(in_resource_default);
       this.class_rules = new ArrayList<JCSequentialPolicy.Rule>();
       this.resource_rules = new ArrayList<JCSequentialPolicy.Rule>();
     }
 
     @Override public void addClassRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.class_rules.add(new Rule(p, quick, c));
     }
 
     @Override public void addResourceRule(
       final Pattern p,
       final JCRuleConclusion c,
       final boolean quick)
     {
       NullCheck.notNull(p);
       NullCheck.notNull(c);
       this.resource_rules.add(new Rule(p, quick, c));
     }
 
     @Override public JCSequentialPolicy build()
     {
       return new JCSequentialPolicy(
         this.class_rules,
         this.resource_rules,
         this.class_default,
         this.resource_default);
     }
   }
 
   private static final class Rule
   {
     final JCRuleConclusion conclusion;
     final Pattern          pattern;
     final boolean          quick;
 
     Rule(
       final Pattern in_pattern,
       final boolean in_quick,
       final JCRuleConclusion in_conclusion)
     {
       this.pattern = NullCheck.notNull(in_pattern);
       this.quick = in_quick;
       this.conclusion = NullCheck.notNull(in_conclusion);
     }
 
     boolean matches(
       final String name)
     {
       final Matcher m = this.pattern.matcher(name);
       return m.matches();
     }
   }
 
   private static final Logger LOG;
 
   static {
     LOG =
       NullCheck.notNull(LoggerFactory.getLogger(JCSequentialPolicy.class));
   }
 
   private static JCRuleConclusion checkRules(
     final String type,
     final String name,
     final JCRuleConclusion default_conclusion,
     final List<Rule> rules)
   {
     JCSequentialPolicy.LOG.debug("{} check {}", type, name);
 
     JCRuleConclusion current_conclusion = default_conclusion;
     boolean done = false;
     for (int index = 0; index < rules.size(); ++index) {
       final Rule rule = rules.get(index);
 
       final boolean match = rule.matches(name);
       if (match) {
         current_conclusion = rule.conclusion;
         if (rule.quick) {
           done = true;
         }
       }
 
       JCSequentialPolicy.LOG.debug(
         "rule [{}]: quick:{} pattern:{} match:{} conclusion:{}",
         index,
         rule.quick,
         rule.pattern,
         match,
         rule.conclusion);
 
       if (done) {
         break;
       }
     }
 
     JCSequentialPolicy.LOG.info("class {} {}", current_conclusion, name);
     return current_conclusion;
   }
 
   /**
    * @param class_default
    *          The default conclusion for classes
    * @param resource_default
    *          The default conclusion for resources
    * @return A new policy builder
    */
 
-  public static JCSequentialPolicyBuilderType newPolicyBuilder(
+  public static JCSequentialPolicyBuilderType newEmptyPolicyBuilder(
     final JCRuleConclusion class_default,
     final JCRuleConclusion resource_default)
   {
     return new Builder(class_default, resource_default);
   }
 
   private final JCRuleConclusion class_default;
   private final List<Rule>       class_rules;
   private final JCRuleConclusion resource_default;
   private final List<Rule>       resource_rules;
 
   private JCSequentialPolicy(
     final List<Rule> in_class_rules,
     final List<Rule> in_resource_rules,
     final JCRuleConclusion in_class_default,
     final JCRuleConclusion in_resource_default)
   {
     this.class_rules = NullCheck.notNull(in_class_rules);
     this.resource_rules = NullCheck.notNull(in_resource_rules);
     this.class_default = NullCheck.notNull(in_class_default);
     this.resource_default = NullCheck.notNull(in_resource_default);
   }
 
   @Override public boolean policyAllowsClass(
     final String name)
   {
     NullCheck.notNull(name);
 
     final JCRuleConclusion current_conclusion =
       JCSequentialPolicy.checkRules(
         "class",
         name,
         this.class_default,
         this.class_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 
   @Override public boolean policyAllowsResource(
     final String name)
   {
     NullCheck.notNull(name);
 
     final JCRuleConclusion current_conclusion =
       JCSequentialPolicy.checkRules(
         "resource",
         name,
         this.resource_default,
         this.resource_rules);
 
     switch (current_conclusion) {
       case ALLOW:
         return true;
       case DENY:
         return false;
     }
 
     throw new UnreachableCodeException();
   }
 }
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
index af9875c..4576afa 100644
--- a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
@@ -23,283 +23,283 @@ import com.io7m.jcage.core.JCSequentialPolicy;
 import com.io7m.jcage.core.JCSequentialPolicyBuilderType;
 
 @SuppressWarnings({ "null", "static-method", "unchecked" }) public final class JCSandboxEscapesTest
 {
   private static String accessDeniedMessage(
     final Permission p)
   {
     final StringBuilder s = new StringBuilder();
     s.append("access denied ");
     s.append(p);
     return s.toString();
   }
 
   @Rule public final ExpectedException expected = ExpectedException.none();
 
   private SandboxBreakerType getSandboxBreaker(
     final String box_name)
     throws AssertionError
   {
     return this.getSandboxBreakerWith(box_name, new Permissions());
   }
 
   private SandboxBreakerType getSandboxBreakerWith(
     final String box_name,
     final Permissions perms)
     throws AssertionError
   {
     try {
       final JCSequentialPolicyBuilderType host_policy_builder =
-        JCSequentialPolicy.newPolicyBuilder(
+        JCSequentialPolicy.newEmptyPolicyBuilder(
           JCRuleConclusion.DENY,
           JCRuleConclusion.DENY);
 
       host_policy_builder.addClassRule(
         Pattern.compile("java\\.lang\\.([[\\p{Alnum}][_]]+)"),
         JCRuleConclusion.ALLOW,
         true);
       host_policy_builder.addClassRule(
         Pattern.compile("java\\.io\\.([[\\p{Alnum}][_]]+)"),
         JCRuleConclusion.ALLOW,
         true);
       host_policy_builder.addClassRule(
         Pattern.compile("java\\.util\\.([[\\p{Alnum}][_]]+)"),
         JCRuleConclusion.ALLOW,
         true);
       host_policy_builder.addClassRule(
         Pattern.compile("com\\.io7m\\.jnull\\.([[\\p{Alnum}][_]]+)"),
         JCRuleConclusion.ALLOW,
         true);
       host_policy_builder.addClassRule(
         Pattern.compile("com\\.io7m\\.jcage\\.core\\.([[\\p{Alnum}][_]]+)"),
         JCRuleConclusion.ALLOW,
         true);
       host_policy_builder.addClassRule(
         Pattern.compile("java\\.security\\.([[\\p{Alnum}][_]]+)"),
         JCRuleConclusion.ALLOW,
         true);
       host_policy_builder
         .addClassRule(
           Pattern
             .compile("com\\.io7m\\.jcage\\.tests\\.core\\.([[\\p{Alnum}][_]]+)"),
           JCRuleConclusion.ALLOW,
           true);
 
       final JCSequentialPolicy host_policy = host_policy_builder.build();
 
       final JCClassLoaderPolicyType sandbox_policy =
         new JCClassLoaderPolicyType() {
           @Override public boolean policyAllowsClass(
             final String name)
           {
             return name
               .startsWith("com.io7m.jcage.tests.core.sandbox_breaker.");
           }
 
           @Override public boolean policyAllowsResource(
             final String name)
           {
             return false;
           }
         };
 
       final JCSandboxesType sb0 = JCSandboxes.get();
       final JCSandboxType s0 =
         sb0.createSandbox(
           box_name,
           ClassLoader.getSystemClassLoader(),
           host_policy,
           JCClassNameResolverClasspath.get(),
           sandbox_policy,
           perms);
 
       final Class<SandboxBreakerType> c0 =
         (Class<SandboxBreakerType>) s0
           .getSandboxLoadedClass("com.io7m.jcage.tests.core.sandbox_breaker.SandboxBreaker");
 
       return c0.newInstance();
     } catch (final Exception e) {
       throw new AssertionError(e);
     }
   }
 
   @Test public void testCheckPermission()
     throws Exception
   {
     final FilePermission p = new FilePermission("/tmp/z", "read");
     final Permissions ps = new Permissions();
     ps.add(p);
     final SandboxBreakerType i =
       this.getSandboxBreakerWith("tryCheckPermission", ps);
     i.tryCheckPermission(p);
   }
 
   @Test public void testCheckPermissionCreateSandbox()
     throws Exception
   {
     final JCSandboxAdminPermission p =
       new JCSandboxAdminPermission("*", "createSandbox");
     final Permissions ps = new Permissions();
     ps.add(p);
     final SandboxBreakerType i =
       this.getSandboxBreakerWith("tryCheckPermissionCreateSandbox", ps);
     i.tryCheckPermission(p);
   }
 
   @Test public void testLoadNative()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("loadLibrary.libc")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryLoadNative");
     i.tryLoadNative();
   }
 
   @Test public void testReflectionGetDeclared()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("accessDeclaredMembers")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryReflectionGetDeclared");
     i.tryReflectionGetDeclared();
   }
 
   @Test public void testClassLoaderCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("createClassLoader")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryClassLoaderCreate");
     i.tryClassLoaderCreate();
   }
 
   @Test public void testClassLoaderGet()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("getClassLoader")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryClassLoaderGet");
     i.tryClassLoaderGet();
   }
 
   @Test public void testClassLoaderGetSystem()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("getClassLoader")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryClassLoaderGetSystem");
     i.tryClassLoaderGetSystem();
   }
 
   @Test public void testFileWrite()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new FilePermission("test.txt", "write")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryFileWrite");
     i.tryFileWrite();
   }
 
   @Test public void testGetPolicy()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new SecurityPermission("getPolicy")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryGetPolicy");
     i.tryGetPolicy();
   }
 
   @Test public void testDisallowedClass()
     throws Exception
   {
     this.expected.expect(SecurityException.class);
     this.expected
       .expectMessage("Class access denied: java.util.concurrent.Future");
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryDisallowedClass");
     i.tryDisallowedClass();
   }
 
   @Test public void testSandboxesCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected
       .expectMessage(JCSandboxEscapesTest
         .accessDeniedMessage(new JCSandboxAdminPermission(
           "a",
           "createSandbox")));
 
     final Permissions perms = new Permissions();
     perms.add(new JCSandboxAdminPermission("*", "getSandboxes"));
     perms.add(new SecurityPermission("getPolicy"));
     perms.add(new PropertyPermission("java.class.path", "read"));
     perms.add(new PropertyPermission("path.separator", "read"));
 
     final SandboxBreakerType i =
       this.getSandboxBreakerWith("testSandboxesCreate", perms);
     i.trySandboxesCreate();
   }
 
   @Test public void testSandboxesGet()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected
       .expectMessage(JCSandboxEscapesTest
         .accessDeniedMessage(new JCSandboxAdminPermission("*", "getSandboxes")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("testSandboxesGet");
     i.trySandboxesGet();
   }
 
   @Test public void testSetPolicy()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new SecurityPermission("setPolicy")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("trySetPolicy");
     i.trySetPolicy();
   }
 
   @Test public void testThreadCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("modifyThreadGroup")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryThreadCreate");
     i.tryThreadCreate();
   }
 
   @Test public void testThreadGroupCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("modifyThreadGroup")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryThreadGroupCreate");
     i.tryThreadGroupCreate();
   }
 }
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java
index f69f23d..0b22700 100644
--- a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java
@@ -26,80 +26,80 @@ import com.io7m.jcage.core.JCSequentialPolicy;
 import com.io7m.jcage.core.JCSequentialPolicyBuilderType;
 
 @SuppressWarnings("static-method") public final class JCSequentialPolicyTest
 {
   @Test public void testPolicyEmpty_0()
   {
     final JCSequentialPolicyBuilderType jpb =
-      JCSequentialPolicy.newPolicyBuilder(
+      JCSequentialPolicy.newEmptyPolicyBuilder(
         JCRuleConclusion.DENY,
         JCRuleConclusion.DENY);
     final JCSequentialPolicy jp = jpb.build();
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Object"));
     Assert.assertFalse(jp.policyAllowsResource("file.txt"));
   }
 
   @Test public void testPolicy_0()
   {
     final JCSequentialPolicyBuilderType jpb =
-      JCSequentialPolicy.newPolicyBuilder(
+      JCSequentialPolicy.newEmptyPolicyBuilder(
         JCRuleConclusion.DENY,
         JCRuleConclusion.DENY);
 
     jpb.addClassRule(
       Pattern.compile("java.lang.Object"),
       JCRuleConclusion.ALLOW,
       true);
 
     final JCSequentialPolicy jp = jpb.build();
     Assert.assertTrue(jp.policyAllowsClass("java.lang.Object"));
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Object.More"));
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Nothing"));
     Assert.assertFalse(jp.policyAllowsResource("file.txt"));
   }
 
   @Test public void testPolicy_1()
   {
     final JCSequentialPolicyBuilderType jpb =
-      JCSequentialPolicy.newPolicyBuilder(
+      JCSequentialPolicy.newEmptyPolicyBuilder(
         JCRuleConclusion.DENY,
         JCRuleConclusion.DENY);
 
     jpb.addClassRule(
       Pattern.compile("java.lang.Object"),
       JCRuleConclusion.ALLOW,
       false);
     jpb.addClassRule(
       Pattern.compile("java.lang.Object.More"),
       JCRuleConclusion.ALLOW,
       false);
 
     final JCSequentialPolicy jp = jpb.build();
     Assert.assertTrue(jp.policyAllowsClass("java.lang.Object"));
     Assert.assertTrue(jp.policyAllowsClass("java.lang.Object.More"));
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Nothing"));
     Assert.assertFalse(jp.policyAllowsResource("file.txt"));
   }
 
   @Test public void testPolicy_2()
   {
     final JCSequentialPolicyBuilderType jpb =
-      JCSequentialPolicy.newPolicyBuilder(
+      JCSequentialPolicy.newEmptyPolicyBuilder(
         JCRuleConclusion.DENY,
         JCRuleConclusion.DENY);
 
     jpb.addClassRule(
       Pattern.compile("java.lang.Object"),
       JCRuleConclusion.ALLOW,
       false);
     jpb.addClassRule(
       Pattern.compile("java.lang.Object"),
       JCRuleConclusion.DENY,
       false);
 
     final JCSequentialPolicy jp = jpb.build();
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Object"));
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Object.More"));
     Assert.assertFalse(jp.policyAllowsClass("java.lang.Nothing"));
     Assert.assertFalse(jp.policyAllowsResource("file.txt"));
   }
 }

commit 1f1c6e0bc7b5dec47864ba25422038286b951156
Author: Mark Raynsford <code@io7m.com>
Date:   Sat May 30 17:58:28 2015 +0000

    Add rules to SandboxBreaker to restrict class access

diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
index 5c2ce2c..af9875c 100644
--- a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
@@ -8,2 +8,3 @@ import java.security.SecurityPermission;
 import java.util.PropertyPermission;
+import java.util.regex.Pattern;
 
@@ -14,4 +15,4 @@ import org.junit.rules.ExpectedException;
 import com.io7m.jcage.core.JCClassLoaderPolicyType;
-import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
 import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCRuleConclusion;
 import com.io7m.jcage.core.JCSandboxAdminPermission;
@@ -20,234 +21,285 @@ import com.io7m.jcage.core.JCSandboxes;
 import com.io7m.jcage.core.JCSandboxesType;
+import com.io7m.jcage.core.JCSequentialPolicy;
+import com.io7m.jcage.core.JCSequentialPolicyBuilderType;
 
 @SuppressWarnings({ "null", "static-method", "unchecked" }) public final class JCSandboxEscapesTest
 {
   private static String accessDeniedMessage(
     final Permission p)
   {
     final StringBuilder s = new StringBuilder();
     s.append("access denied ");
     s.append(p);
     return s.toString();
   }
 
   @Rule public final ExpectedException expected = ExpectedException.none();
 
   private SandboxBreakerType getSandboxBreaker(
     final String box_name)
     throws AssertionError
   {
     return this.getSandboxBreakerWith(box_name, new Permissions());
   }
 
   private SandboxBreakerType getSandboxBreakerWith(
     final String box_name,
     final Permissions perms)
     throws AssertionError
   {
     try {
+      final JCSequentialPolicyBuilderType host_policy_builder =
+        JCSequentialPolicy.newPolicyBuilder(
+          JCRuleConclusion.DENY,
+          JCRuleConclusion.DENY);
+
+      host_policy_builder.addClassRule(
+        Pattern.compile("java\\.lang\\.([[\\p{Alnum}][_]]+)"),
+        JCRuleConclusion.ALLOW,
+        true);
+      host_policy_builder.addClassRule(
+        Pattern.compile("java\\.io\\.([[\\p{Alnum}][_]]+)"),
+        JCRuleConclusion.ALLOW,
+        true);
+      host_policy_builder.addClassRule(
+        Pattern.compile("java\\.util\\.([[\\p{Alnum}][_]]+)"),
+        JCRuleConclusion.ALLOW,
+        true);
+      host_policy_builder.addClassRule(
+        Pattern.compile("com\\.io7m\\.jnull\\.([[\\p{Alnum}][_]]+)"),
+        JCRuleConclusion.ALLOW,
+        true);
+      host_policy_builder.addClassRule(
+        Pattern.compile("com\\.io7m\\.jcage\\.core\\.([[\\p{Alnum}][_]]+)"),
+        JCRuleConclusion.ALLOW,
+        true);
+      host_policy_builder.addClassRule(
+        Pattern.compile("java\\.security\\.([[\\p{Alnum}][_]]+)"),
+        JCRuleConclusion.ALLOW,
+        true);
+      host_policy_builder
+        .addClassRule(
+          Pattern
+            .compile("com\\.io7m\\.jcage\\.tests\\.core\\.([[\\p{Alnum}][_]]+)"),
+          JCRuleConclusion.ALLOW,
+          true);
+
+      final JCSequentialPolicy host_policy = host_policy_builder.build();
+
       final JCClassLoaderPolicyType sandbox_policy =
         new JCClassLoaderPolicyType() {
           @Override public boolean policyAllowsClass(
             final String name)
           {
             return name
               .startsWith("com.io7m.jcage.tests.core.sandbox_breaker.");
           }
 
           @Override public boolean policyAllowsResource(
             final String name)
           {
             return false;
           }
         };
 
       final JCSandboxesType sb0 = JCSandboxes.get();
       final JCSandboxType s0 =
         sb0.createSandbox(
           box_name,
           ClassLoader.getSystemClassLoader(),
-          JCClassLoaderPolicyUnrestricted.get(),
+          host_policy,
           JCClassNameResolverClasspath.get(),
           sandbox_policy,
           perms);
 
       final Class<SandboxBreakerType> c0 =
         (Class<SandboxBreakerType>) s0
           .getSandboxLoadedClass("com.io7m.jcage.tests.core.sandbox_breaker.SandboxBreaker");
 
       return c0.newInstance();
     } catch (final Exception e) {
       throw new AssertionError(e);
     }
   }
 
   @Test public void testCheckPermission()
     throws Exception
   {
     final FilePermission p = new FilePermission("/tmp/z", "read");
     final Permissions ps = new Permissions();
     ps.add(p);
     final SandboxBreakerType i =
       this.getSandboxBreakerWith("tryCheckPermission", ps);
     i.tryCheckPermission(p);
   }
 
   @Test public void testCheckPermissionCreateSandbox()
     throws Exception
   {
     final JCSandboxAdminPermission p =
       new JCSandboxAdminPermission("*", "createSandbox");
     final Permissions ps = new Permissions();
     ps.add(p);
     final SandboxBreakerType i =
       this.getSandboxBreakerWith("tryCheckPermissionCreateSandbox", ps);
     i.tryCheckPermission(p);
   }
 
   @Test public void testLoadNative()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("loadLibrary.libc")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryLoadNative");
     i.tryLoadNative();
   }
 
   @Test public void testReflectionGetDeclared()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("accessDeclaredMembers")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryReflectionGetDeclared");
     i.tryReflectionGetDeclared();
   }
 
   @Test public void testClassLoaderCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("createClassLoader")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryClassLoaderCreate");
     i.tryClassLoaderCreate();
   }
 
   @Test public void testClassLoaderGet()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("getClassLoader")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryClassLoaderGet");
     i.tryClassLoaderGet();
   }
 
   @Test public void testClassLoaderGetSystem()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("getClassLoader")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryClassLoaderGetSystem");
     i.tryClassLoaderGetSystem();
   }
 
   @Test public void testFileWrite()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new FilePermission("test.txt", "write")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryFileWrite");
     i.tryFileWrite();
   }
 
   @Test public void testGetPolicy()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new SecurityPermission("getPolicy")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryGetPolicy");
     i.tryGetPolicy();
   }
 
+  @Test public void testDisallowedClass()
+    throws Exception
+  {
+    this.expected.expect(SecurityException.class);
+    this.expected
+      .expectMessage("Class access denied: java.util.concurrent.Future");
+
+    final SandboxBreakerType i = this.getSandboxBreaker("tryDisallowedClass");
+    i.tryDisallowedClass();
+  }
+
   @Test public void testSandboxesCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected
       .expectMessage(JCSandboxEscapesTest
         .accessDeniedMessage(new JCSandboxAdminPermission(
           "a",
           "createSandbox")));
 
     final Permissions perms = new Permissions();
     perms.add(new JCSandboxAdminPermission("*", "getSandboxes"));
     perms.add(new SecurityPermission("getPolicy"));
     perms.add(new PropertyPermission("java.class.path", "read"));
     perms.add(new PropertyPermission("path.separator", "read"));
 
     final SandboxBreakerType i =
       this.getSandboxBreakerWith("testSandboxesCreate", perms);
     i.trySandboxesCreate();
   }
 
   @Test public void testSandboxesGet()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected
       .expectMessage(JCSandboxEscapesTest
         .accessDeniedMessage(new JCSandboxAdminPermission("*", "getSandboxes")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("testSandboxesGet");
     i.trySandboxesGet();
   }
 
   @Test public void testSetPolicy()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new SecurityPermission("setPolicy")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("trySetPolicy");
     i.trySetPolicy();
   }
 
   @Test public void testThreadCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("modifyThreadGroup")));
 
     final SandboxBreakerType i = this.getSandboxBreaker("tryThreadCreate");
     i.tryThreadCreate();
   }
 
   @Test public void testThreadGroupCreate()
     throws Exception
   {
     this.expected.expect(AccessControlException.class);
     this.expected.expectMessage(JCSandboxEscapesTest
       .accessDeniedMessage(new RuntimePermission("modifyThreadGroup")));
 
     final SandboxBreakerType i =
       this.getSandboxBreaker("tryThreadGroupCreate");
     i.tryThreadGroupCreate();
   }
 }
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java
index 2cffea6..ed21f75 100644
--- a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java
@@ -1,15 +1,15 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
- * 
+ *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
@@ -25,42 +25,45 @@ import java.security.Permission;
 public interface SandboxBreakerType
 {
   void tryCheckPermission(
     Permission p)
     throws Exception;
 
   void tryClassLoaderCreate()
     throws Exception;
 
   void tryClassLoaderGet()
     throws Exception;
 
   void tryClassLoaderGetSystem()
     throws Exception;
 
+  void tryDisallowedClass()
+    throws Exception;
+
   void tryFileWrite()
     throws Exception;
 
   void tryGetPolicy()
     throws Exception;
 
   void tryLoadNative()
     throws Exception;
 
+  void tryReflectionGetDeclared()
+    throws Exception;
+
   void trySandboxesCreate()
     throws Exception;
 
   void trySandboxesGet()
     throws Exception;
 
   void trySetPolicy()
     throws Exception;
 
   void tryThreadCreate()
     throws Exception;
 
   void tryThreadGroupCreate()
     throws Exception;
-
-  void tryReflectionGetDeclared()
-    throws Exception;
 }
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java
index bb9f394..ea70c34 100644
--- a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java
@@ -36,138 +36,147 @@ import com.io7m.jnull.NullCheck;
 public final class SandboxBreaker implements SandboxBreakerType
 {
   public SandboxBreaker()
   {
 
   }
 
   @Override public void tryCheckPermission(
     final Permission p)
     throws Exception
   {
     System.out.println("tryCheckPermission: starting");
     final SecurityManager sm = NullCheck.notNull(System.getSecurityManager());
     System.out.println("tryCheckPermission: checking");
     sm.checkPermission(p);
   }
 
   @Override public void tryClassLoaderCreate()
     throws Exception
   {
     System.out.println("tryClassLoaderCreate: starting");
 
     final ClassLoader c = new ClassLoader(null) {
     };
     c.loadClass("java.lang.Object");
   }
 
   @Override public void tryClassLoaderGet()
     throws Exception
   {
     System.out.println("tryClassLoaderGet: starting");
     ClassLoader.getSystemClassLoader();
   }
 
   @Override public void tryClassLoaderGetSystem()
     throws Exception
   {
     System.out.println("tryClassLoaderGetSystem: starting");
     final ClassLoader sys = ClassLoader.getSystemClassLoader();
     System.out.println("tryClassLoaderGetSystem: " + sys);
   }
 
+  @Override public void tryDisallowedClass()
+    throws Exception
+  {
+    System.out.println("tryDisallowedClass: starting");
+    final Class<? extends SandboxBreaker> c = this.getClass();
+    final ClassLoader cl = c.getClassLoader();
+    final Class<?> cm = cl.loadClass("java.util.concurrent.Future");
+  }
+
   @Override public void tryFileWrite()
     throws Exception
   {
     System.out.println("tryFileWrite: starting");
     final File f = new File("test.txt");
     try (final FileOutputStream fs = new FileOutputStream(f)) {
       fs.write("FAILURE".getBytes());
       fs.flush();
     }
   }
 
   @Override public void tryGetPolicy()
     throws Exception
   {
     System.out.println("tryGetPolicy: starting");
     Policy.getPolicy();
   }
 
   @Override public void tryLoadNative()
     throws Exception
   {
     System.out.println("tryLoadNative: starting");
     System.loadLibrary("libc");
   }
 
   @Override public void tryReflectionGetDeclared()
     throws Exception
   {
     System.out.println("tryReflectionGetDeclared: starting");
     final ThingWithPrivate t = new ThingWithPrivate();
     final Class<? extends ThingWithPrivate> c = t.getClass();
     final Field f = c.getDeclaredField("value");
     f.setInt(t, 23);
   }
 
   @Override public void trySandboxesCreate()
     throws Exception
   {
     System.out.println("trySandboxesCreate: starting");
 
     JCSandboxesType s = null;
     try {
       s = JCSandboxes.get();
     } catch (final AccessControlException x) {
       throw new AssertionError(x);
     }
 
     s.createSandbox(
       "a",
       DangerousGetClassLoader.get(),
       JCClassLoaderPolicyUnrestricted.get(),
       JCClassNameResolverClasspath.get(),
       JCClassLoaderPolicyUnrestricted.get(),
       new Permissions());
   }
 
   @Override public void trySandboxesGet()
     throws Exception
   {
     System.out.println("trySandboxesGet: starting");
     JCSandboxes.get();
   }
 
   @Override public void trySetPolicy()
     throws Exception
   {
     System.out.println("trySetPolicy: starting");
     Policy.setPolicy(new Policy() {
     });
   }
 
   @Override public void tryThreadCreate()
     throws Exception
   {
     System.out.println("tryThreadCreate: starting");
     final Thread t = new Thread(new Runnable() {
       @Override public void run()
       {
         System.out.println("tryThreadCreate: Hello");
       }
     });
     t.start();
   }
 
   @Override public void tryThreadGroupCreate()
     throws Exception
   {
     System.out.println("tryThreadGroupCreate: starting");
     final Thread t = Thread.currentThread();
     System.out.println("tryThreadGroupCreate: " + t);
     final ThreadGroup tg = t.getThreadGroup();
     System.out.println("tryThreadGroupCreate: " + tg);
     tg.destroy();
     System.out.println("tryThreadGroupCreate: unexpectedly succeeded");
   }
 }

commit d56b5125a2d982711f0addb3026aa525247537de
Author: Mark Raynsford <code@io7m.com>
Date:   Sat May 30 17:12:58 2015 +0000

    Initial documentation and site structure

diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob
index 85d31f9..c4408b6 100644
--- a/.fossil-settings/ignore-glob
+++ b/.fossil-settings/ignore-glob
@@ -2 +2,2 @@ target
 io7m-jcage-*/target
+io7m-jcage-*/bin
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
index 702037b..69b730a 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
@@ -1,15 +1,15 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
- *
+ * 
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- *
+ * 
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
@@ -28,2 +28,6 @@ import com.io7m.jnull.Nullable;
 
+/**
+ * A class resolver that can load class data from the current classpath.
+ */
+
 public final class JCClassNameResolverClasspath implements
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
index 726c2f6..36986a3 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
@@ -1,15 +1,15 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
- * 
+ *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
@@ -32,2 +32,6 @@ import com.io7m.jnull.Nullable;
 
+/**
+ * A class resolver that can load class data from a list of URLs.
+ */
+
 public final class JCClassNameResolverURLs implements JCClassNameResolverType
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
index f48c189..43e04f2 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
@@ -1,15 +1,15 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
- * 
+ *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
@@ -18,2 +18,6 @@ package com.io7m.jcage.core;
 
+/**
+ * The type of sandbox exceptions.
+ */
+
 public abstract class JCSandboxException extends Exception
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
index 1f69ba0..490ed2b 100644
--- a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
@@ -1,15 +1,15 @@
 /*
  * Copyright © 2015 <code@io7m.com> http://io7m.com
- * 
+ *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
@@ -22,2 +22,6 @@ import java.security.Policy;
 
+/**
+ * The type of sandboxes.
+ */
+
 public interface JCSandboxType
diff --git a/io7m-jcage-core/src/site/site.xml b/io7m-jcage-core/src/site/site.xml
new file mode 100644
index 0000000..90d0609
--- /dev/null
+++ b/io7m-jcage-core/src/site/site.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="io7m-jcage-core">
+
+  <body>
+    <menu ref="reports"/>
+  </body>
+
+  <skin>
+    <groupId>com.io7m.mvn-skin</groupId>
+    <artifactId>io7m-mvn-skin</artifactId>
+    <version>1.5.0</version>
+  </skin>
+
+</project>
diff --git a/io7m-jcage-core/src/site/xdoc/changes.xml.vm b/io7m-jcage-core/src/site/xdoc/changes.xml.vm
new file mode 100644
index 0000000..0257932
--- /dev/null
+++ b/io7m-jcage-core/src/site/xdoc/changes.xml.vm
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Changes</title>
+  </properties>
+  <body>
+    <section name="Changes">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for the package changelog. 
+    </section>
+  </body>
+</document>
+
diff --git a/io7m-jcage-core/src/site/xdoc/index.xml b/io7m-jcage-core/src/site/xdoc/index.xml
new file mode 100644
index 0000000..d0b6179
--- /dev/null
+++ b/io7m-jcage-core/src/site/xdoc/index.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>io7m-jcage-core</title>
+  </properties>
+
+  <body>
+    <subsection name="jcage-core">
+      The <var>jcage-core</var> package contains the core types of the package.
+    </subsection>
+  </body>
+
+</document>
diff --git a/io7m-jcage-core/src/site/xdoc/license.xml b/io7m-jcage-core/src/site/xdoc/license.xml
new file mode 100644
index 0000000..1a28f59
--- /dev/null
+++ b/io7m-jcage-core/src/site/xdoc/license.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>License</title>
+  </properties>
+
+  <body>
+    <section name="License">
+      <source>
+Copyright © 2015 &lt;code@io7m.com> http://io7m.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+      </source>
+    </section>
+  </body>
+
+</document>
diff --git a/io7m-jcage-core/src/site/xdoc/releases.xml.vm b/io7m-jcage-core/src/site/xdoc/releases.xml.vm
new file mode 100644
index 0000000..6321253
--- /dev/null
+++ b/io7m-jcage-core/src/site/xdoc/releases.xml.vm
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Releases</title>
+  </properties>
+  <body>
+    <section name="Releases">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for releases and documentation.
+    </section>
+  </body>
+</document>
+
diff --git a/io7m-jcage-documentation/pom.xml b/io7m-jcage-documentation/pom.xml
new file mode 100644
index 0000000..0379d47
--- /dev/null
+++ b/io7m-jcage-documentation/pom.xml
@@ -0,0 +1,429 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.io7m.jcage</groupId>
+    <artifactId>io7m-jcage</artifactId>
+    <version>0.1.0</version>
+  </parent>
+  <artifactId>io7m-jcage-documentation</artifactId>
+
+  <packaging>jar</packaging>
+  <description>Run-time configurable JVM sandboxing (Documentation)</description>
+  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <name>${project.artifactId}</name>
+
+  <licenses>
+    <license>
+      <name>ISC License</name>
+      <url>http://www.opensource.org/licenses/isc-license.txt</url>
+    </license>
+  </licenses>
+
+  <scm>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
+    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+  </scm>
+
+  <developers>
+    <developer>
+      <id>io7m</id>
+      <name>io7m</name>
+      <email>code@io7m.com</email>
+      <url>http://io7m.com</url>
+    </developer>
+  </developers>
+
+  <issueManagement>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <system>Fossil</system>
+  </issueManagement>
+
+  <distributionManagement>
+    <site>
+      <id>io7m</id>
+      <name>io7m.com</name>
+      <url>${project.url}</url>
+    </site>
+  </distributionManagement>
+
+  <mailingLists>
+    <mailingList>
+      <name>io7m-jcage</name>
+      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
+      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
+      <post>io7m-jcage@lists.io7m.com</post>
+      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
+    </mailingList>
+  </mailingLists>
+
+  <prerequisites>
+    <maven>2.2.1</maven>
+  </prerequisites>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>com.io7m.jstructural</groupId>
+      <artifactId>io7m-jstructural-tools</artifactId>
+      <version>[4.0.0, 5.0.0)</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>io7m-jcage-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
+    <!-- Depend on the javadoc for each module, in order to aggregate it. -->
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>io7m-jcage-core</artifactId>
+      <version>${project.version}</version>
+      <classifier>javadoc</classifier>
+    </dependency>
+  </dependencies>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.7</version>
+        <configuration>
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.3</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <build>
+    <plugins>
+      <!-- Plugin versions -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.5</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.7</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+
+      <!-- Require JDK >= 1.6 -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.1</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+
+      <!-- Produce custom manifest in jar files -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>io7m.com</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>io7m.com</Implementation-Vendor>
+              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+              <Built-By>io7m</Built-By>
+              <Sealed>true</Sealed>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+
+      <!-- Create source jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.2.1</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Copy documentation resources into build directory -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.6</version>
+        <executions>
+          <execution>
+            <id>copy-documentation-resources</id>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <phase>generate-resources</phase>
+            <configuration>
+              <outputDirectory>${project.build.directory}/documentation/</outputDirectory>
+              <resources>
+                <resource>
+                  <directory>src/main/resources/com/io7m/jcage/documentation/</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Produce documentation -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.2.1</version>
+        <executions>
+          <execution>
+            <id>make-documentation-single</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>java</goal>
+            </goals>
+            <configuration>
+              <mainClass>com.io7m.jcage.documentation.MakeDocumentation</mainClass>
+              <arguments>
+                <argument>--xhtml-single</argument>
+                <argument>${project.build.directory}/documentation/documentation.xml</argument>
+                <argument>${project.build.directory}/documentation/</argument>
+                <argument>--xhtml-body-start</argument>
+                <argument>${project.build.directory}/documentation/brand.xml</argument>
+              </arguments>
+            </configuration>
+          </execution>
+          <execution>
+            <id>make-documentation-multi</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>java</goal>
+            </goals>
+            <configuration>
+              <mainClass>com.io7m.jcage.documentation.MakeDocumentation</mainClass>
+              <arguments>
+                <argument>--xhtml-multi</argument>
+                <argument>${project.build.directory}/documentation/documentation.xml</argument>
+                <argument>${project.build.directory}/documentation/</argument>
+                <argument>--xhtml-body-start</argument>
+                <argument>${project.build.directory}/documentation/brand.xml</argument>
+              </arguments>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Javadoc handling -->
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.9.1</version>
+        <executions>
+          <!-- Produce javadoc jar for Central -->
+          <execution>
+            <id>attach-javadocs</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+          <!-- Produce aggregate dependency javadocs -->
+          <execution>
+            <id>javadoc-aggregate</id>
+            <phase>package</phase>
+            <goals>
+              <goal>javadoc</goal>
+            </goals>
+            <configuration>
+              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
+              <includeDependencySources>true</includeDependencySources>
+              <includeTransitiveDependencySources>true</includeTransitiveDependencySources>
+              <dependencySourceIncludes>
+                <dependencySourceSet>com.io7m.jcage*</dependencySourceSet>
+              </dependencySourceIncludes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Produce documentation archive -->
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <descriptors>
+            <descriptor>src/main/assembly/documentation.xml</descriptor>
+          </descriptors>
+        </configuration>
+        <executions>
+          <execution>
+            <id>make-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <appendAssemblyId>false</appendAssemblyId>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Unpack the documentation archive to the parent's generated site staging directory. -->
+      <!-- This is arguably abusive, but there appears to be no other way to achieve it. -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>truezip-maven-plugin</artifactId>
+        <version>1.2</version>
+        <inherited>false</inherited>
+        <executions>
+          <execution>
+            <id>copy-site-documentation</id>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+            <phase>site</phase>
+            <configuration>
+              <verbose>true</verbose>
+              <fileset>
+                <directory>${project.build.directory}/${project.name}-${project.version}.zip/${project.name}-${project.version}/</directory>
+                <outputDirectory>${project.parent.build.directory}/staging/documentation/</outputDirectory>
+              </fileset>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+
+    <!-- Allow deployment over ssh -->
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>2.2</version>
+      </extension>
+    </extensions>
+
+    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.sonatype.maven.plugin</groupId>
+                    <artifactId>emma-maven-plugin</artifactId>
+                    <versionRange>[1.2,)</versionRange>
+                    <goals>
+                      <goal>instrument</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <!-- Sign artifacts when deploying to io7m -->
+  <profiles>
+    <profile>
+      <id>io7m-deployment-private</id>
+      <activation>
+        <property>
+          <name>io7m.deployment</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+</project>
diff --git a/io7m-jcage-documentation/src/main/assembly/documentation.xml b/io7m-jcage-documentation/src/main/assembly/documentation.xml
new file mode 100644
index 0000000..0b5d459
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/assembly/documentation.xml
@@ -0,0 +1,21 @@
+<assembly
+  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+  <id>documentation</id>
+  <baseDirectory>${project.name}-${project.version}</baseDirectory>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.build.directory}/documentation</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>${project.build.directory}/site/apidocs</directory>
+      <outputDirectory>/apidocs</outputDirectory>
+    </fileSet>
+  </fileSets>
+</assembly>
+
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
new file mode 100644
index 0000000..8421474
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/Documentation.java
@@ -0,0 +1,43 @@
+/*
+ * Copyright © 2014 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.documentation;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
+
+/**
+ * Functions for retrieving the documentation.
+ */
+
+public final class Documentation
+{
+  public static URI getDocumentationXMLLocation()
+  {
+    try {
+      final URL url =
+        Documentation.class
+          .getResource("/com/io7m/jcage/documentation/documentation.xml");
+      assert url != null;
+      final URI uri = url.toURI();
+      assert uri != null;
+      return uri;
+    } catch (final URISyntaxException e) {
+      throw new AssertionError(e);
+    }
+  }
+}
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/MakeDocumentation.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/MakeDocumentation.java
new file mode 100644
index 0000000..bfd4978
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/MakeDocumentation.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright © 2014 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.documentation;
+
+import com.io7m.jstructural.tools.JSCMain;
+
+final class MakeDocumentation
+{
+  public static void main(
+    final String[] args)
+    throws Throwable
+  {
+    JSCMain.run(JSCMain.getLog(false), args);
+  }
+}
diff --git a/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java
new file mode 100644
index 0000000..9dc0b71
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/java/com/io7m/jcage/documentation/package-info.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright © 2014 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/**
+ * Documentation.
+ */
+
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.documentation;
+
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/brand.xml b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/brand.xml
new file mode 100644
index 0000000..c391a15
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/brand.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<div class="brand" xmlns="http://www.w3.org/1999/xhtml">
+  <div class="brand_left">
+    <a href="http://io7m.com/">io7m</a>
+  </div>
+  <div class="brand_right">
+    <a href="${project.parent.url}">${project.parent.name}</a> ${project.version}
+  </div>
+</div>
\ No newline at end of file
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
new file mode 100644
index 0000000..2b9cd43
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.css
@@ -0,0 +1,63 @@
+.brand
+{
+  font-size: 75%;
+  font-family: monospace;
+}
+
+.brand_left
+{
+  float: left;
+}
+
+.brand_right
+{
+  text-align: right;
+}
+
+.package
+{
+  font-family: monospace;
+  font-weight: bold;
+}
+
+.attribute,
+.class,
+.command,
+.constant,
+.element,
+.file,
+.function,
+.keyword,
+.type
+{
+  font-family: monospace;
+}
+
+.example, .license, .terminal
+{
+  font-family:    monospace;
+  border:         1px solid #ccc;
+  padding-top:    1.0em;
+  padding-left:   1.0em;
+  padding-bottom: 1.0em;
+  margin-top:     1.2em;
+  overflow:       auto;
+}
+
+.dependencies table td
+{
+  padding-right: 3.0em;
+  font-family:   monospace;
+  font-size:     9pt;
+}
+
+.platforms table td
+{
+  padding-right: 2.0em;
+}
+.platforms table tbody,
+.platforms table thead
+{
+  font-size:     8pt;
+  font-family:   monospace;
+}
diff --git a/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml
new file mode 100644
index 0000000..dda6942
--- /dev/null
+++ b/io7m-jcage-documentation/src/main/resources/com/io7m/jcage/documentation/documentation.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Copyright © 2015 <code@io7m.com> http://io7m.com
+
+  Permission to use, copy, modify, and/or distribute this software for any
+  purpose with or without fee is hereby granted, provided that the above
+  copyright notice and this permission notice appear in all copies.
+
+  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+  -->
+
+<s:document
+  xmlns:s="http://schemas.io7m.com/structural/2.1.0"
+  xmlns:xi="http://www.w3.org/2001/XInclude">
+  <s:document-title>${project.parent.name} ${project.version} Documentation</s:document-title>
+  <s:document-style>documentation.css</s:document-style>
+  <s:document-contents/>
+
+  <s:part>
+    <s:part-title>Package Information</s:part-title>
+    <s:part-contents />
+    <s:section>
+      <s:section-title>Orientation</s:section-title>
+      <s:subsection>
+        <s:subsection-title>Overview</s:subsection-title>
+        <s:paragraph>
+          The <s:term s:type="package">${project.parent.name}</s:term> package
+          implements a run-time configurable sandboxing system using the standard
+          JVM security components.
+        </s:paragraph>
+      </s:subsection>
+    </s:section>
+
+    <s:section>
+      <s:section-title>Installation</s:section-title>
+      <s:subsection>
+        <s:subsection-title>Source compilation</s:subsection-title>
+        <s:paragraph>
+          The project can be compiled and installed with
+          <s:link-external s:target="http://maven.apache.org">Maven</s:link-external>:
+        </s:paragraph>
+        <s:paragraph>
+          <s:verbatim s:type="example"><![CDATA[$ mvn -C clean install]]></s:verbatim>
+        </s:paragraph>
+      </s:subsection>
+
+      <s:subsection>
+        <s:subsection-title>Maven</s:subsection-title>
+        <s:paragraph>
+          Regular releases are made to the
+          <s:link-external s:target="http://search.maven.org/#search%7Cga%7C1%7C${project.parent.name}">Central Repository</s:link-external>,
+          so it's possible to use the <s:term s:type="package">${project.parent.name}</s:term>
+          package in your projects with the following Maven dependency:
+        </s:paragraph>
+        <s:paragraph>
+          <s:verbatim s:type="example"><![CDATA[<dependency>
+  <groupId>${project.groupId}</groupId>
+  <artifactId>${project.parent.artifactId}-core</artifactId>
+  <version>${project.version}</version>
+</dependency>]]></s:verbatim>
+        </s:paragraph>
+        <s:paragraph>
+          All <s:link-external s:target="http://io7m.com">io7m.com</s:link-external>
+          packages use Semantic Versioning
+          <s:footnote>
+            <s:link-external s:target="http://semver.org">http://semver.org</s:link-external>
+          </s:footnote>, which implies that it is always safe to use version ranges
+          with an exclusive upper bound equal to the next major version - the API of
+          the package will not change in a backwards-incompatible manner before the
+          next major version.
+        </s:paragraph>
+      </s:subsection>
+    </s:section>
+
+    <s:section>
+      <s:section-title>Platform Specific Issues</s:section-title>
+      <s:paragraph>
+        There are currently no known platform-specific issues.
+      </s:paragraph>
+    </s:section>
+
+    <s:section>
+      <s:section-title>License</s:section-title>
+      <s:paragraph>
+        All files distributed with the <s:term s:type="package">${project.parent.name}</s:term>
+        package are placed under the following license:
+        <s:verbatim s:type="license"><![CDATA[Copyright © 2015 <code@io7m.com> http://io7m.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.]]>
+        </s:verbatim>
+      </s:paragraph>
+    </s:section>
+  </s:part>
+
+  <s:part>
+    <s:part-title>API Reference</s:part-title>
+    <s:part-contents/>
+    <s:section>
+      <s:section-title>Javadoc</s:section-title>
+      <s:paragraph>
+        API documentation for the package is provided via the
+        included <s:link-external s:target="apidocs">Javadoc</s:link-external>.
+      </s:paragraph>
+    </s:section>
+  </s:part>
+
+</s:document>
diff --git a/io7m-jcage-documentation/src/site/site.xml b/io7m-jcage-documentation/src/site/site.xml
new file mode 100644
index 0000000..ae0746d
--- /dev/null
+++ b/io7m-jcage-documentation/src/site/site.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="io7m-jcage-documentation">
+
+  <body>
+    <menu ref="reports"/>
+  </body>
+
+  <skin>
+    <groupId>com.io7m.mvn-skin</groupId>
+    <artifactId>io7m-mvn-skin</artifactId>
+    <version>1.5.0</version>
+  </skin>
+
+</project>
diff --git a/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm b/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm
new file mode 100644
index 0000000..dc8d66e
--- /dev/null
+++ b/io7m-jcage-documentation/src/site/xdoc/changes.xml.vm
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Changes</title>
+  </properties>
+  <body>
+    <section name="Changes">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for the package changelog.
+    </section>
+  </body>
+</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/index.xml b/io7m-jcage-documentation/src/site/xdoc/index.xml
new file mode 100644
index 0000000..a1757f5
--- /dev/null
+++ b/io7m-jcage-documentation/src/site/xdoc/index.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>io7m-jcage-documentation</title>
+  </properties>
+
+  <body>
+    <subsection name="jcage-documentation">
+      The <var>jcage-documentation</var> package contains the documentation for the project.
+    </subsection>
+  </body>
+
+</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/license.xml b/io7m-jcage-documentation/src/site/xdoc/license.xml
new file mode 100644
index 0000000..1a28f59
--- /dev/null
+++ b/io7m-jcage-documentation/src/site/xdoc/license.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>License</title>
+  </properties>
+
+  <body>
+    <section name="License">
+      <source>
+Copyright © 2015 &lt;code@io7m.com> http://io7m.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+      </source>
+    </section>
+  </body>
+
+</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/project-reports.xml b/io7m-jcage-documentation/src/site/xdoc/project-reports.xml
new file mode 100644
index 0000000..2125119
--- /dev/null
+++ b/io7m-jcage-documentation/src/site/xdoc/project-reports.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>Reports</title>
+  </properties>
+
+  <body>
+    <subsection name="Reports">
+      No reports are currently available.
+    </subsection>
+  </body>
+
+</document>
diff --git a/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm b/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm
new file mode 100644
index 0000000..6321253
--- /dev/null
+++ b/io7m-jcage-documentation/src/site/xdoc/releases.xml.vm
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Releases</title>
+  </properties>
+  <body>
+    <section name="Releases">
+      See <a href="${project.parent.url}/releases.html">${project.parent.name}</a> for releases and documentation.
+    </section>
+  </body>
+</document>
+
diff --git a/pom.xml b/pom.xml
index 9906ca8..99e6b94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,201 +1,202 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project
   xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.io7m.jcage</groupId>
   <artifactId>io7m-jcage</artifactId>
   <version>0.1.0</version>
 
   <packaging>pom</packaging>
   <name>io7m-jcage</name>
   <description>Run-time configurable JVM sandboxing</description>
   <url>http://mvn.io7m.com/${project.artifactId}/</url>
 
   <modules>
     <module>io7m-jcage-core</module>
+    <module>io7m-jcage-documentation</module>
   </modules>
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
     <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
   </properties>
 
   <licenses>
     <license>
       <name>ISC License</name>
       <url>http://www.opensource.org/licenses/isc-license.txt</url>
     </license>
   </licenses>
 
   <scm>
     <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
     <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
     <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
   </scm>
 
   <developers>
     <developer>
       <id>io7m</id>
       <name>io7m</name>
       <email>code@io7m.com</email>
       <url>http://io7m.com</url>
     </developer>
   </developers>
 
   <issueManagement>
     <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
     <system>Fossil</system>
   </issueManagement>
 
   <distributionManagement>
     <site>
       <id>io7m</id>
       <name>io7m.com</name>
       <url>${project.url}</url>
     </site>
   </distributionManagement>
 
   <mailingLists>
     <mailingList>
       <name>io7m-jcage</name>
       <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
       <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
       <post>io7m-jcage@lists.io7m.com</post>
       <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
     </mailingList>
   </mailingLists>
 
   <prerequisites>
     <maven>2.2.1</maven>
   </prerequisites>
 
   <reporting>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.7</version>
         <configuration>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
         </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>3.3</version>
       </plugin>
       <plugin>
         <groupId>com.io7m.changelog</groupId>
         <artifactId>io7m-changelog-plugin</artifactId>
         <version>2.1.0</version>
         <inherited>false</inherited>
         <configuration>
           <file>README-CHANGES.xml</file>
           <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
           <feedAuthorName>io7m release robot</feedAuthorName>
         </configuration>
       </plugin>
     </plugins>
   </reporting>
 
   <build>
     <plugins>
       <!-- Plugin versions -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-clean-plugin</artifactId>
         <version>2.5</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-deploy-plugin</artifactId>
         <version>2.7</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-install-plugin</artifactId>
         <version>2.4</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <version>2.6</version>
       </plugin>
     </plugins>
 
     <!-- Allow deployment over ssh -->
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh-external</artifactId>
         <version>2.2</version>
       </extension>
     </extensions>
 
     <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
     <pluginManagement>
       <plugins>
         <plugin>
           <groupId>org.eclipse.m2e</groupId>
           <artifactId>lifecycle-mapping</artifactId>
           <version>1.0.0</version>
           <configuration>
             <lifecycleMappingMetadata>
               <pluginExecutions>
                 <pluginExecution>
                   <pluginExecutionFilter>
                     <groupId>org.sonatype.maven.plugin</groupId>
                     <artifactId>emma-maven-plugin</artifactId>
                     <versionRange>[1.2,)</versionRange>
                     <goals>
                       <goal>instrument</goal>
                     </goals>
                   </pluginExecutionFilter>
                   <action>
                     <ignore></ignore>
                   </action>
                 </pluginExecution>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
   </build>
 
   <!-- Sign artifacts when deploying to io7m -->
   <profiles>
     <profile>
       <id>io7m-deployment-private</id>
       <activation>
         <property>
           <name>io7m.deployment</name>
         </property>
       </activation>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-gpg-plugin</artifactId>
             <version>1.4</version>
             <executions>
               <execution>
                 <id>sign-artifacts</id>
                 <phase>verify</phase>
                 <goals>
                   <goal>sign</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>
 
 </project>
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..5300175
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="io7m-jcage">
+
+  <body>
+    <menu ref="reports"/>
+  </body>
+
+  <skin>
+    <groupId>com.io7m.mvn-skin</groupId>
+    <artifactId>io7m-mvn-skin</artifactId>
+    <version>1.5.0</version>
+  </skin>
+
+</project>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
new file mode 100644
index 0000000..9475b57
--- /dev/null
+++ b/src/site/xdoc/index.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>io7m-jcage</title>
+  </properties>
+
+  <body>
+    <subsection name="jcage">
+      <p>The <var>jcage</var> package implements a run-time configurable
+      code sandboxing system using the standard JVM security components.
+    </subsection>
+  </body>
+
+</document>
diff --git a/src/site/xdoc/license.xml b/src/site/xdoc/license.xml
new file mode 100644
index 0000000..1a28f59
--- /dev/null
+++ b/src/site/xdoc/license.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>License</title>
+  </properties>
+
+  <body>
+    <section name="License">
+      <source>
+Copyright © 2015 &lt;code@io7m.com> http://io7m.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+      </source>
+    </section>
+  </body>
+
+</document>
diff --git a/src/site/xdoc/project-reports.xml b/src/site/xdoc/project-reports.xml
new file mode 100644
index 0000000..2125119
--- /dev/null
+++ b/src/site/xdoc/project-reports.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+
+  <properties>
+    <title>Reports</title>
+  </properties>
+
+  <body>
+    <subsection name="Reports">
+      No reports are currently available.
+    </subsection>
+  </body>
+
+</document>
diff --git a/src/site/xdoc/releases.xml.vm b/src/site/xdoc/releases.xml.vm
new file mode 100644
index 0000000..de9f92c
--- /dev/null
+++ b/src/site/xdoc/releases.xml.vm
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document
+  xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  <properties>
+    <title>Releases</title>
+  </properties>
+  <body>
+    <section name="Releases">
+      <p>The current release is ${project.version}.</p>
+      <p>
+        Source code and binaries are available from the
+        <a href="http://mvn-repository.io7m.com/${siteReposDirectory}/">repository</a>.
+      </p>
+    </section>
+    <section name="Documentation">
+      <p>
+        Documentation for the ${project.version} release is available for reading online.
+      </p>
+      <ul>
+        <li><a href="documentation/index-m.xhtml">XHTML - one page per section</a></li>
+        <li><a href="documentation/index.xhtml">XHTML - single page</a></li>
+      </ul>
+      <p>
+        Older documentation is archived in the
+        <a href="http://mvn-repository.io7m.com/${siteDocumentationDirectory}">repository</a>.
+      </p>
+    </section>
+  </body>
+</document>
+

commit 3cfd54c0c63e3b650e92350c86ba031eb9bfe0d4
Author: Mark Raynsford <code@io7m.com>
Date:   Sat May 30 16:59:36 2015 +0000

    Initial version

diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob
new file mode 100644
index 0000000..85d31f9
--- /dev/null
+++ b/.fossil-settings/ignore-glob
@@ -0,0 +1,2 @@
+target
+io7m-jcage-*/target
diff --git a/io7m-jcage-core/pom.xml b/io7m-jcage-core/pom.xml
new file mode 100644
index 0000000..6631d5d
--- /dev/null
+++ b/io7m-jcage-core/pom.xml
@@ -0,0 +1,364 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.io7m.jcage</groupId>
+    <artifactId>io7m-jcage</artifactId>
+    <version>0.1.0</version>
+  </parent>
+  <artifactId>io7m-jcage-core</artifactId>
+
+  <packaging>jar</packaging>
+  <description>Run-time configurable JVM sandboxing (Core)</description>
+  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+  <name>${project.artifactId}</name>
+
+  <licenses>
+    <license>
+      <name>ISC License</name>
+      <url>http://www.opensource.org/licenses/isc-license.txt</url>
+    </license>
+  </licenses>
+
+  <scm>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
+    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+  </scm>
+
+  <developers>
+    <developer>
+      <id>io7m</id>
+      <name>io7m</name>
+      <email>code@io7m.com</email>
+      <url>http://io7m.com</url>
+    </developer>
+  </developers>
+
+  <issueManagement>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <system>Fossil</system>
+  </issueManagement>
+
+  <distributionManagement>
+    <site>
+      <id>io7m</id>
+      <name>io7m.com</name>
+      <url>${project.url}</url>
+    </site>
+  </distributionManagement>
+
+  <mailingLists>
+    <mailingList>
+      <name>io7m-jcage</name>
+      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
+      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
+      <post>io7m-jcage@lists.io7m.com</post>
+      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
+    </mailingList>
+  </mailingLists>
+
+  <prerequisites>
+    <maven>2.2.1</maven>
+  </prerequisites>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>com.io7m.jnull</groupId>
+      <artifactId>io7m-jnull-core</artifactId>
+      <version>[1.0.0, 2.0.0)</version>
+    </dependency>
+    <dependency>
+      <groupId>com.io7m.junreachable</groupId>
+      <artifactId>io7m-junreachable-core</artifactId>
+      <version>[1.0.0, 2.0.0)</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.7.12</version>
+    </dependency>
+    <dependency>
+      <groupId>org.valid4j</groupId>
+      <artifactId>valid4j</artifactId>
+      <version>0.4.0</version>
+    </dependency>
+
+    <!--  Test suite -->
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+      <version>4.11</version>
+    </dependency>
+    <dependency>
+      <groupId>net.java</groupId>
+      <artifactId>quickcheck</artifactId>
+      <version>0.6</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-core</artifactId>
+      <version>1.1.3</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+      <version>1.1.3</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.7</version>
+        <configuration>
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.3</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <build>
+    <plugins>
+      <!-- Plugin versions -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.5</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.7</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.6</version>
+      </plugin>
+
+      <!-- Require JDK >= 1.7 -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.1</version>
+        <configuration>
+          <source>1.7</source>
+          <target>1.7</target>
+        </configuration>
+      </plugin>
+
+      <!-- Redirect test output -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.15</version>
+        <configuration>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+        </configuration>
+      </plugin>
+
+      <!-- Produce custom manifest in jar files -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>io7m.com</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>io7m.com</Implementation-Vendor>
+              <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+              <Built-By>io7m</Built-By>
+              <Sealed>true</Sealed>
+            </manifestEntries>
+          </archive>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>jar</goal>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Create source jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.2.1</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>jar-no-fork</goal>
+              <goal>test-jar-no-fork</goal>
+            </goals>
+            <configuration>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Create javadoc jar -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.9.1</version>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <bottom><![CDATA[Copyright &#169; {currentYear} &lt;code@io7m.com&gt; http://io7m.com]]></bottom>
+              <archive>
+                <manifestEntries>
+                  <Specification-Title>${project.name}</Specification-Title>
+                  <Specification-Version>${project.version}</Specification-Version>
+                  <Specification-Vendor>io7m.com</Specification-Vendor>
+                  <Implementation-Title>${project.name}</Implementation-Title>
+                  <Implementation-Version>${project.version}</Implementation-Version>
+                  <Implementation-Vendor>io7m.com</Implementation-Vendor>
+                  <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
+                  <Built-By>io7m</Built-By>
+                </manifestEntries>
+              </archive>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Enable code coverage for unit tests -->
+      <plugin>
+        <groupId>org.sonatype.maven.plugin</groupId>
+        <artifactId>emma-maven-plugin</artifactId>
+        <version>1.2</version>
+        <executions>
+          <execution>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>instrument</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+
+    <!-- Allow deployment over ssh -->
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>2.2</version>
+      </extension>
+    </extensions>
+
+    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.sonatype.maven.plugin</groupId>
+                    <artifactId>emma-maven-plugin</artifactId>
+                    <versionRange>[1.2,)</versionRange>
+                    <goals>
+                      <goal>instrument</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <!-- Sign artifacts when deploying to io7m -->
+  <profiles>
+    <profile>
+      <id>io7m-deployment-private</id>
+      <activation>
+        <property>
+          <name>io7m.deployment</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+</project>
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoader.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoader.java
new file mode 100644
index 0000000..c30fd1c
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoader.java
@@ -0,0 +1,182 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.net.URL;
+import java.security.AccessController;
+import java.security.CodeSource;
+import java.security.Permissions;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+import java.security.ProtectionDomain;
+import java.security.cert.Certificate;
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+import com.io7m.junreachable.UnreachableCodeException;
+
+/**
+ * <p>
+ * A sandboxing class loader.
+ * </p>
+ * <p>
+ * The loader takes a delegate class loader <tt>dc</tt>, a delegate class
+ * loader policy <tt>dcp</tt>, a class loader policy <tt>cp</tt>, a URL
+ * <tt>u</tt>, and a class name resolver <tt>r</tt>.
+ * </p>
+ * <p>
+ * When a request is made to load a class with name <tt>c</tt>, the loader
+ * checks <tt>cp</tt> to determine whether or not it is allowed to attempt to
+ * load the class itself. If loading is allowed, it loads the class by asking
+ * <tt>r</tt> to return bytes for <tt>c</tt>. If <tt>r</tt> returns class
+ * bytes, the loader returns a new class with a {@link ProtectionDomain}
+ * domain using a {@link CodeSource} containing the location <tt>u</tt>. If
+ * <tt>r</tt> does not return any class bytes, the loader instead checks
+ * <tt>dcp</tt> to see if it is allowed access to the class <tt>c</tt> via
+ * <tt>dc</tt>. If access is allowed and <tt>dc</tt> was actually provided,
+ * the loader calls <tt>dc</tt> to load the class. If access is not permitted,
+ * the loader raises {@link SecurityException}. If <tt>dc</tt> was not
+ * provided, the loader raises {@link ClassNotFoundException}.
+ * </p>
+ * <p>
+ * The results of the above procedure are <i>cached</i> iff the loader loaded
+ * the class (it does not cache the results if <tt>dc</tt> loads the class).
+ * </p>
+ * <p>
+ * The loader loads classes from the bytes returned by the given
+ * {@link JCClassNameResolverType} resolver.
+ * </p>
+ */
+
+@SuppressWarnings("synthetic-access") public final class JCClassLoader extends
+  ClassLoader
+{
+  private final Map<String, Class<?>>   cache;
+  private final CodeSource              code_source;
+  private final @Nullable ClassLoader   delegate;
+  private final JCClassLoaderPolicyType delegate_policy;
+  private final JCClassLoaderPolicyType policy;
+  private final JCClassNameResolverType resolver;
+
+  JCClassLoader(
+    final @Nullable ClassLoader in_delegate,
+    final JCClassLoaderPolicyType in_delegate_policy,
+    final JCClassNameResolverType in_resolver,
+    final JCClassLoaderPolicyType in_policy,
+    final URL in_url)
+  {
+    super(null);
+    this.delegate = in_delegate;
+    this.resolver = NullCheck.notNull(in_resolver);
+    this.delegate_policy = NullCheck.notNull(in_delegate_policy);
+    this.policy = NullCheck.notNull(in_policy);
+    this.cache = new ConcurrentHashMap<String, Class<?>>();
+    this.code_source =
+      new CodeSource(NullCheck.notNull(in_url), (Certificate[]) null);
+  }
+
+  @Override protected Class<?> findClass(
+    final @Nullable String in_name)
+    throws ClassNotFoundException
+  {
+    final String name = NullCheck.notNull(in_name);
+
+    if (this.cache.containsKey(name)) {
+      return NullCheck.notNull(this.cache.get(name));
+    }
+
+    if (this.policy.policyAllowsClass(name)) {
+      final byte[] cb = this.resolver.resolveToBytes(name);
+      if (cb != null) {
+        final ProtectionDomain pd =
+          new ProtectionDomain(
+            this.code_source,
+            new Permissions(),
+            this,
+            null);
+        final Class<?> rc =
+          NullCheck.notNull(this.defineClass(name, cb, 0, cb.length, pd));
+        this.cache.put(name, rc);
+        return rc;
+      }
+    }
+
+    if (this.delegate_policy.policyAllowsClass(name)) {
+      final ClassLoader d = this.delegate;
+      if (d != null) {
+        return NullCheck.notNull(d.loadClass(name));
+      }
+    } else {
+      throw new SecurityException("Class access denied: " + name);
+    }
+
+    throw new ClassNotFoundException(name);
+  }
+
+  private Class<?> load(
+    final boolean resolve,
+    final String name)
+    throws ClassNotFoundException
+  {
+    final Class<?> c = this.findClass(name);
+    if (resolve) {
+      this.resolveClass(c);
+    }
+    return NullCheck.notNull(c);
+  }
+
+  @Override protected Class<?> loadClass(
+    final @Nullable String in_name,
+    final boolean resolve)
+    throws ClassNotFoundException
+  {
+    final String name = NullCheck.notNull(in_name);
+
+    try {
+      final Class<?> r =
+        AccessController
+          .doPrivileged(new PrivilegedExceptionAction<Class<?>>() {
+            @Override public Class<?> run()
+              throws ClassNotFoundException
+            {
+              return JCClassLoader.this.load(resolve, name);
+            }
+          });
+      return NullCheck.notNull(r);
+    } catch (final PrivilegedActionException e) {
+      final Throwable cause = e.getCause();
+      if (cause instanceof ClassNotFoundException) {
+        throw (ClassNotFoundException) cause;
+      }
+      if (cause instanceof SecurityException) {
+        throw (SecurityException) cause;
+      }
+      throw new UnreachableCodeException(cause);
+    }
+  }
+
+  @Override public String toString()
+  {
+    final StringBuilder b = new StringBuilder();
+    b.append("[JCClassLoader ");
+    b.append(this.code_source.getLocation());
+    b.append("]");
+    return NullCheck.notNull(b.toString());
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyType.java
new file mode 100644
index 0000000..f3cdc63
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyType.java
@@ -0,0 +1,42 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+/**
+ * The type of classloader policies.
+ */
+
+public interface JCClassLoaderPolicyType
+{
+  /**
+   * @param name
+   *          The name of the class
+   * @return <tt>true</tt> if accessing the given class is permitted
+   */
+
+  boolean policyAllowsClass(
+    String name);
+
+  /**
+   * @param name
+   *          The name of the resource
+   * @return <tt>true</tt> if accessing the given resource is permitted
+   */
+
+  boolean policyAllowsResource(
+    String name);
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java
new file mode 100644
index 0000000..1d4a75d
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassLoaderPolicyUnrestricted.java
@@ -0,0 +1,57 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import com.io7m.jnull.NullCheck;
+
+/**
+ * A class loader policy that allows everything.
+ */
+
+public final class JCClassLoaderPolicyUnrestricted implements
+  JCClassLoaderPolicyType
+{
+  private static final JCClassLoaderPolicyUnrestricted POLICY;
+
+  static {
+    POLICY = new JCClassLoaderPolicyUnrestricted();
+  }
+
+  public static JCClassLoaderPolicyType get()
+  {
+    return JCClassLoaderPolicyUnrestricted.POLICY;
+  }
+
+  private JCClassLoaderPolicyUnrestricted()
+  {
+
+  }
+
+  @Override public boolean policyAllowsClass(
+    final String name)
+  {
+    NullCheck.notNull(name);
+    return true;
+  }
+
+  @Override public boolean policyAllowsResource(
+    final String name)
+  {
+    NullCheck.notNull(name);
+    return true;
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
new file mode 100644
index 0000000..702037b
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverClasspath.java
@@ -0,0 +1,109 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
+public final class JCClassNameResolverClasspath implements
+  JCClassNameResolverType
+{
+  public static JCClassNameResolverType get()
+  {
+    final String path =
+      NullCheck.notNull(System.getProperty("java.class.path"));
+    return JCClassNameResolverClasspath.getWithPath(path);
+  }
+
+  public static JCClassNameResolverType getWithPath(
+    final String path)
+  {
+    NullCheck.notNull(path);
+    final String sep =
+      NullCheck.notNull(System.getProperty("path.separator"));
+    return JCClassNameResolverClasspath.getWithPathAndSeparator(path, sep);
+  }
+
+  public static JCClassNameResolverType getWithPathAndSeparator(
+    final String path,
+    final String sep)
+  {
+    NullCheck.notNull(path);
+    NullCheck.notNull(sep);
+
+    final List<URL> urls =
+      JCClassNameResolverClasspath.getClasspathElements(path, sep);
+
+    return new JCClassNameResolverClasspath(JCClassNameResolverURLs.get(urls));
+  }
+
+  /**
+   * Split <tt>path</tt> into elements on <tt>sep</tt>.
+   *
+   * @param path
+   *          The path
+   * @param sep
+   *          The separator
+   * @return The URL elements
+   */
+
+  public static List<URL> getClasspathElements(
+    final String path,
+    final String sep)
+  {
+    NullCheck.notNull(path);
+    NullCheck.notNull(sep);
+
+    final String[] segments = path.split(sep);
+    final List<URL> urls = new ArrayList<>();
+    for (int index = 0; index < segments.length; ++index) {
+      try {
+        URI uri = new URI(segments[index]);
+        if (null == uri.getScheme()) {
+          uri = new URI("file", null, uri.getPath(), null);
+        }
+        urls.add(uri.toURL());
+      } catch (final MalformedURLException e) {
+        // Nothing
+      } catch (final URISyntaxException e) {
+        // Nothing
+      }
+    }
+    return urls;
+  }
+
+  private final JCClassNameResolverType actual;
+
+  private JCClassNameResolverClasspath(
+    final JCClassNameResolverType in_actual)
+  {
+    this.actual = NullCheck.notNull(in_actual);
+  }
+
+  @Override public @Nullable byte[] resolveToBytes(
+    final String name)
+  {
+    return this.actual.resolveToBytes(name);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java
new file mode 100644
index 0000000..dc8f071
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverType.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import com.io7m.jnull.Nullable;
+
+/**
+ * <p>
+ * A mapping from class names to bytes.
+ * </p>
+ */
+
+public interface JCClassNameResolverType
+{
+  @Nullable byte[] resolveToBytes(
+    String name);
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
new file mode 100644
index 0000000..726c2f6
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCClassNameResolverURLs.java
@@ -0,0 +1,138 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.JarURLConnection;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.List;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
+public final class JCClassNameResolverURLs implements JCClassNameResolverType
+{
+  public static JCClassNameResolverType get(
+    final List<URL> urls)
+  {
+    return new JCClassNameResolverURLs(urls);
+  }
+
+  private static @Nullable byte[] tryDirectory(
+    final File dir,
+    final String path)
+  {
+    final File actual = new File(dir, path);
+
+    final ByteArrayOutputStream bao = new ByteArrayOutputStream(4096);
+    try (final InputStream stream = new FileInputStream(actual)) {
+      final byte[] buffer = new byte[4096];
+      for (;;) {
+        final int r = stream.read(buffer);
+        if (r == -1) {
+          break;
+        }
+        bao.write(buffer, 0, r);
+      }
+      return bao.toByteArray();
+    } catch (final FileNotFoundException e) {
+      // e.printStackTrace();
+    } catch (final IOException e) {
+      // e.printStackTrace();
+    }
+
+    return null;
+  }
+
+  private static @Nullable byte[] tryJar(
+    final String path,
+    final URL u)
+  {
+    try {
+      final String s =
+        NullCheck.notNull(String.format("jar:%s!/%s", u, path));
+      final URL ju = new URL(s);
+      final JarURLConnection c = (JarURLConnection) ju.openConnection();
+
+      final ByteArrayOutputStream bao = new ByteArrayOutputStream(4096);
+      try (final InputStream stream = c.getInputStream()) {
+        final byte[] buffer = new byte[4096];
+        for (;;) {
+          final int r = stream.read(buffer);
+          if (r == -1) {
+            break;
+          }
+          bao.write(buffer, 0, r);
+        }
+      }
+
+      return bao.toByteArray();
+    } catch (final MalformedURLException e) {
+      // e.printStackTrace();
+    } catch (final IOException e) {
+      // e.printStackTrace();
+    }
+
+    return null;
+  }
+
+  private final List<URL> urls;
+
+  private JCClassNameResolverURLs(
+    final List<URL> in_urls)
+  {
+    this.urls = NullCheck.notNullAll(in_urls, "URLs");
+  }
+
+  @Override public @Nullable byte[] resolveToBytes(
+    final String name)
+  {
+    final String path = NullCheck.notNull(name.replace('.', '/') + ".class");
+
+    for (final URL in_u : this.urls) {
+      final URL u = NullCheck.notNull(in_u);
+
+      if ("file".equals(u.getProtocol())) {
+        final File dir = new File(u.getPath());
+        if (dir.isDirectory()) {
+          {
+            final byte[] bytes =
+              JCClassNameResolverURLs.tryDirectory(dir, path);
+            if (bytes != null) {
+              return bytes;
+            }
+          }
+        }
+      }
+
+      {
+        final byte[] bytes = JCClassNameResolverURLs.tryJar(path, u);
+        if (bytes != null) {
+          return bytes;
+        }
+      }
+    }
+
+    return null;
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
new file mode 100644
index 0000000..77b953b
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCPolicy.java
@@ -0,0 +1,164 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.net.URL;
+import java.security.AllPermission;
+import java.security.CodeSource;
+import java.security.Permission;
+import java.security.PermissionCollection;
+import java.security.Permissions;
+import java.security.Policy;
+import java.security.ProtectionDomain;
+import java.security.Provider;
+import java.util.Enumeration;
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+
+import org.valid4j.Assertive;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
+/**
+ * <p>
+ * The main sandboxing {@link Policy} implementation.
+ * </p>
+ * <p>
+ * The policy maps sandbox URLs to sets of {@link Permission} values.
+ * </p>
+ */
+
+public final class JCPolicy extends Policy
+{
+  @Override public @Nullable Provider getProvider()
+  {
+    return null;
+  }
+
+  @Override public void refresh()
+  {
+    // Nothing
+  }
+
+  @Override public PermissionCollection getPermissions(
+    final @Nullable CodeSource codesource)
+  {
+    throw new UnsupportedOperationException();
+  }
+
+  @Override public PermissionCollection getPermissions(
+    final @Nullable ProtectionDomain domain)
+  {
+    throw new UnsupportedOperationException();
+  }
+
+  @Override public @Nullable String getType()
+  {
+    return null;
+  }
+
+  @Override public @Nullable Parameters getParameters()
+  {
+    return null;
+  }
+
+  private Permissions                 permissions_default;
+  private final Map<URL, Permissions> sandboxes;
+
+  JCPolicy()
+  {
+    this.sandboxes = new ConcurrentHashMap<URL, Permissions>();
+    final Permissions q = new Permissions();
+    q.add(new AllPermission());
+    q.setReadOnly();
+    this.permissions_default = q;
+  }
+
+  @Override public boolean implies(
+    final @Nullable ProtectionDomain in_domain,
+    final @Nullable Permission in_permission)
+  {
+    final ProtectionDomain domain = NullCheck.notNull(in_domain);
+    final Permission permission = NullCheck.notNull(in_permission);
+    final CodeSource source = domain.getCodeSource();
+
+    final Permissions box_perms = this.sandboxes.get(source.getLocation());
+    if (box_perms != null) {
+      return box_perms.implies(permission);
+    }
+
+    return this.permissions_default.implies(permission);
+  }
+
+  /**
+   * Set the default (non-sandboxed) permissions.
+   *
+   * @param p
+   *          The permissions
+   */
+
+  public void setDefaultPermissions(
+    final Permissions p)
+  {
+    NullCheck.notNull(p);
+
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      final JCSandboxAdminPermission rp =
+        new JCSandboxAdminPermission("*", "setDefaultPermissions");
+      sm.checkPermission(rp);
+    }
+
+    final Permissions q = new Permissions();
+    final Enumeration<Permission> pe = p.elements();
+    while (pe.hasMoreElements()) {
+      q.add(pe.nextElement());
+    }
+    q.setReadOnly();
+    this.permissions_default = q;
+  }
+
+  /**
+   * Set the permissions for the given sandbox.
+   *
+   * @param p
+   *          The permissions
+   */
+
+  public void putSandboxPermissions(
+    final URL name,
+    final Permissions p)
+  {
+    NullCheck.notNull(name);
+    NullCheck.notNull(p);
+
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      final JCSandboxAdminPermission rp =
+        new JCSandboxAdminPermission(name.toString(), "setSandboxPermissions");
+      sm.checkPermission(rp);
+    }
+
+    Assertive.require(
+      this.sandboxes.containsKey(name) == false,
+      "Sandbox does not already exist with URL '%s'",
+      name);
+
+    this.sandboxes.put(name, p);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCRuleConclusion.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCRuleConclusion.java
new file mode 100644
index 0000000..82a1c0c
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCRuleConclusion.java
@@ -0,0 +1,36 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+/**
+ * The conclusion of a rule.
+ */
+
+public enum JCRuleConclusion
+{
+  /**
+   * The request is allowed.
+   */
+
+  ALLOW,
+
+  /**
+   * The request is denied.
+   */
+
+  DENY
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java
new file mode 100644
index 0000000..255b94f
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxAdminPermission.java
@@ -0,0 +1,103 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.security.Permission;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.jnull.Nullable;
+
+/**
+ * Permissions required to administer the sandbox system.
+ */
+
+public final class JCSandboxAdminPermission extends Permission
+{
+  @Override public int hashCode()
+  {
+    final int prime = 31;
+    int result = 1;
+    result = (prime * result) + this.actions.hashCode();
+    result = (prime * result) + this.name.hashCode();
+    return result;
+  }
+
+  @Override public boolean equals(
+    final @Nullable Object obj)
+  {
+    if (this == obj) {
+      return true;
+    }
+    if (obj == null) {
+      return false;
+    }
+    if (this.getClass() != obj.getClass()) {
+      return false;
+    }
+    final JCSandboxAdminPermission other = (JCSandboxAdminPermission) obj;
+    return this.actions.equals(other.actions) && this.name.equals(other.name);
+  }
+
+  @Override public boolean implies(
+    final @Nullable Permission in_p)
+  {
+    final Permission p = NullCheck.notNull(in_p);
+    if (p instanceof JCSandboxAdminPermission) {
+      final JCSandboxAdminPermission jp = (JCSandboxAdminPermission) p;
+
+      final String this_name = this.getName();
+      final String this_act = this.getActions();
+      final String other_name = jp.getName();
+      final String other_act = jp.getActions();
+
+      if (this_name.equals("*")) {
+        if (this_act.equals("*")) {
+          return true;
+        }
+        return this_act.equals(other_act);
+      }
+
+      if (this_name.equals(other_name)) {
+        if (this_act.equals("*")) {
+          return true;
+        }
+        return this_act.equals(other_act);
+      }
+    }
+
+    return false;
+  }
+
+  private static final long serialVersionUID = 1L;
+
+  private final String      name;
+  private final String      actions;
+
+  public JCSandboxAdminPermission(
+    final String in_name,
+    final String in_actions)
+  {
+    super(in_name);
+    this.name = NullCheck.notNull(in_name);
+    this.actions = NullCheck.notNull(in_actions);
+  }
+
+  @Override public String getActions()
+  {
+    return this.actions;
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java
new file mode 100644
index 0000000..b3bc44e
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassMissingException.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+/**
+ * A class could not be found.
+ */
+
+public final class JCSandboxClassMissingException extends JCSandboxException
+{
+  private static final long serialVersionUID = 1L;
+
+  public JCSandboxClassMissingException(
+    final ClassNotFoundException e)
+  {
+    super(e);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java
new file mode 100644
index 0000000..6facb51
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxClassWrongLoaderException.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+/**
+ * A class has the wrong class loader.
+ */
+
+public final class JCSandboxClassWrongLoaderException extends
+  JCSandboxException
+{
+  private static final long serialVersionUID = 1L;
+
+  public JCSandboxClassWrongLoaderException(
+    final String message)
+  {
+    super(message);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java
new file mode 100644
index 0000000..26e7b71
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxDuplicateException.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+/**
+ * A sandbox already exists with the given name.
+ */
+
+public final class JCSandboxDuplicateException extends JCSandboxException
+{
+  private static final long serialVersionUID = 1L;
+
+  public JCSandboxDuplicateException(
+    final String message)
+  {
+    super(message);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
new file mode 100644
index 0000000..f48c189
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+public abstract class JCSandboxException extends Exception
+{
+  private static final long serialVersionUID = 1L;
+
+  public JCSandboxException(
+    final String message)
+  {
+    super(message);
+  }
+
+  public JCSandboxException(
+    final Throwable e)
+  {
+    super(e);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java
new file mode 100644
index 0000000..e17bbbe
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxNames.java
@@ -0,0 +1,91 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.net.URL;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import org.valid4j.Assertive;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.junreachable.UnreachableCodeException;
+
+/**
+ * <p>
+ * Functions to validate sandbox names.
+ * </p>
+ * <p>
+ * The format of sandbox names are restricted in order to ensure that they can
+ * always be used safely inside {@link URL} values.
+ * </p>
+ */
+
+public final class JCSandboxNames
+{
+  private static final Pattern PATTERN;
+  private static final String  PATTERN_TEXT;
+
+  static {
+    PATTERN_TEXT = "[[\\p{Alnum}][_]]{1,}";
+    PATTERN =
+      NullCheck.notNull(Pattern.compile(
+        JCSandboxNames.PATTERN_TEXT,
+        Pattern.UNICODE_CHARACTER_CLASS));
+  }
+
+  /**
+   * Check if <tt>name</tt> is valid with respect to
+   * {@link #nameIsValid(String)}.
+   *
+   * @param name
+   *          The name
+   * @return The name
+   */
+
+  public static String nameCheck(
+    final String name)
+  {
+    NullCheck.notNull(name);
+    Assertive.require(
+      JCSandboxNames.nameIsValid(name),
+      "Sandbox name '%s' does not match the pattern '%s'",
+      name,
+      JCSandboxNames.PATTERN_TEXT);
+    return name;
+  }
+
+  /**
+   * @param name
+   *          The requested sandbox name
+   * @return <tt>true</tt> is a valid sandbox name
+   */
+
+  public static boolean nameIsValid(
+    final String name)
+  {
+    NullCheck.notNull(name);
+
+    final Matcher matcher = JCSandboxNames.PATTERN.matcher(name);
+    return matcher.matches();
+  }
+
+  private JCSandboxNames()
+  {
+    throw new UnreachableCodeException();
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java
new file mode 100644
index 0000000..dacbb94
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxSecurityException.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+/**
+ * A {@link SecurityException} was raised during an operation.
+ */
+
+public final class JCSandboxSecurityException extends JCSandboxException
+{
+  private static final long serialVersionUID = 1L;
+
+  public JCSandboxSecurityException(
+    final SecurityException e)
+  {
+    super(e);
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
new file mode 100644
index 0000000..1f69ba0
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxType.java
@@ -0,0 +1,70 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.net.URL;
+import java.security.Permissions;
+import java.security.Policy;
+
+public interface JCSandboxType
+{
+  /**
+   * @return The sandbox's class loader
+   */
+
+  JCClassLoader getSandboxClassLoader();
+
+  /**
+   * Return a class that is guaranteed to have been loaded by the sandbox
+   * class loader.
+   *
+   * @param name
+   *          The name of the class
+   * @return A loaded class
+   * @throws JCSandboxClassWrongLoaderException
+   *           If the given class was loaded by a class loader other than that
+   *           created for the sandbox
+   * @throws JCSandboxClassMissingException
+   *           If the given class does not exist
+   */
+
+  Class<?> getSandboxLoadedClass(
+    String name)
+    throws JCSandboxException;
+
+  /**
+   * @return The short name of the sandbox
+   */
+
+  String getSandboxName();
+
+  /**
+   * @return The permissions assigned to the sandbox
+   */
+
+  Permissions getSandboxPermissions();
+
+  /**
+   * Get the identifying URL of the sandbox. This URL uniquely identifies the
+   * sandbox for the purposes of assigning permissions in Java {@link Policy}
+   * implementations.
+   *
+   * @return The identifying URL of the sandbox
+   */
+
+  URL getSandboxURL();
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
new file mode 100644
index 0000000..0079d1e
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxes.java
@@ -0,0 +1,234 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URL;
+import java.security.Permissions;
+import java.security.Policy;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.valid4j.Assertive;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.junreachable.UnreachableCodeException;
+
+/**
+ * The default implementation of the {@link JCSandboxesType} interface.
+ */
+
+public final class JCSandboxes implements JCSandboxesType
+{
+  private static final class Sandbox implements JCSandboxType
+  {
+    private final JCClassLoader           class_loader;
+    private final JCClassNameResolverType class_resolver;
+    private final ClassLoader             host_class_loader;
+    private final JCClassLoaderPolicyType host_class_policy;
+    private final String                  name;
+    private final Permissions             permissions;
+    private final URI                     uri;
+    private final URL                     url;
+
+    public Sandbox(
+      final String in_name,
+      final ClassLoader in_sandbox_host_classloader,
+      final JCClassLoaderPolicyType in_sandbox_host_class_policy,
+      final JCClassNameResolverType in_class_resolver,
+      final JCClassLoaderPolicyType in_sandbox_class_policy,
+      final Permissions in_p)
+    {
+      try {
+        this.name = NullCheck.notNull(in_name);
+        this.host_class_loader =
+          NullCheck.notNull(in_sandbox_host_classloader);
+        this.host_class_policy =
+          NullCheck.notNull(in_sandbox_host_class_policy);
+        this.class_resolver = NullCheck.notNull(in_class_resolver);
+        this.uri =
+          NullCheck.notNull(URI.create("http://jcage-sandbox/" + in_name));
+        this.url = NullCheck.notNull(this.uri.toURL());
+        this.permissions = NullCheck.notNull(in_p);
+        this.class_loader =
+          new JCClassLoader(
+            this.host_class_loader,
+            this.host_class_policy,
+            this.class_resolver,
+            in_sandbox_class_policy,
+            this.url);
+      } catch (final MalformedURLException e) {
+        throw new UnreachableCodeException(e);
+      }
+    }
+
+    @Override public JCClassLoader getSandboxClassLoader()
+    {
+      return this.class_loader;
+    }
+
+    @Override public Class<?> getSandboxLoadedClass(
+      final String in_class_name)
+      throws JCSandboxException
+    {
+      try {
+        final String class_name = NullCheck.notNull(in_class_name);
+        final Class<?> c = this.class_loader.loadClass(class_name);
+
+        final ClassLoader loader = c.getClassLoader();
+        if (loader != this.class_loader) {
+          final StringBuilder sb = new StringBuilder();
+          sb.append("Expected a class loaded by the sandbox loader.\n");
+          sb.append("  Class:    ");
+          sb.append(c);
+          sb.append("\n");
+          sb.append("  Expected: ");
+          sb.append(this.class_loader);
+          sb.append("\n");
+          sb.append("  Got:      ");
+          sb.append(loader);
+          sb.append("\n");
+          final String m = NullCheck.notNull(sb.toString());
+          throw new JCSandboxClassWrongLoaderException(m);
+        }
+
+        return c;
+      } catch (final ClassNotFoundException e) {
+        throw new JCSandboxClassMissingException(e);
+      } catch (final SecurityException e) {
+        throw new JCSandboxSecurityException(e);
+      }
+    }
+
+    @Override public String getSandboxName()
+    {
+      return this.name;
+    }
+
+    @Override public Permissions getSandboxPermissions()
+    {
+      return this.permissions;
+    }
+
+    @Override public URL getSandboxURL()
+    {
+      return this.url;
+    }
+  }
+
+  private static final Logger            LOG;
+  private static final JCPolicy          POLICY;
+  private static final JCSandboxesType   SANDBOXES;
+  private static final JCSecurityManager SECURITY_MANAGER;
+
+  static {
+    SECURITY_MANAGER = new JCSecurityManager();
+    POLICY = new JCPolicy();
+    LOG = NullCheck.notNull(LoggerFactory.getLogger(JCSandboxes.class));
+    SANDBOXES = new JCSandboxes();
+  }
+
+  public static JCSandboxesType get()
+  {
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      sm.checkPermission(new JCSandboxAdminPermission("*", "getSandboxes"));
+    }
+
+    JCSandboxes.installSecurityManagerAndPolicy();
+    return JCSandboxes.SANDBOXES;
+  }
+
+  private static void installSecurityManagerAndPolicy()
+  {
+    final Policy p = Policy.getPolicy();
+    if ((p instanceof JCPolicy) == false) {
+      JCSandboxes.LOG.debug("installing policy");
+      Policy.setPolicy(JCSandboxes.POLICY);
+    }
+
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      Assertive.require(
+        sm instanceof JCSecurityManager,
+        "Installed security manager must be of type %s",
+        JCSecurityManager.class);
+    } else {
+      JCSandboxes.LOG.debug("installing security manager");
+      System.setSecurityManager(JCSandboxes.SECURITY_MANAGER);
+    }
+  }
+
+  public static void setGlobalPermissions(
+    final Permissions p)
+  {
+    JCSandboxes.POLICY.setDefaultPermissions(p);
+  }
+
+  private final Map<String, JCSandboxType> sandboxes;
+
+  private JCSandboxes()
+  {
+    this.sandboxes = new HashMap<String, JCSandboxType>();
+  }
+
+  @Override public JCSandboxType createSandbox(
+    final String name,
+    final ClassLoader sandbox_host_classloader,
+    final JCClassLoaderPolicyType sandbox_host_class_policy,
+    final JCClassNameResolverType in_class_resolver,
+    final JCClassLoaderPolicyType sandbox_class_policy,
+    final Permissions in_p)
+    throws JCSandboxException
+  {
+    NullCheck.notNull(name);
+    NullCheck.notNull(sandbox_host_classloader);
+    NullCheck.notNull(sandbox_host_class_policy);
+    NullCheck.notNull(in_class_resolver);
+    NullCheck.notNull(sandbox_class_policy);
+    NullCheck.notNull(in_p);
+
+    JCSandboxNames.nameCheck(name);
+
+    final SecurityManager sm = System.getSecurityManager();
+    if (sm != null) {
+      sm.checkPermission(new JCSandboxAdminPermission(name, "createSandbox"));
+    }
+
+    synchronized (this.sandboxes) {
+      if (this.sandboxes.containsKey(name)) {
+        throw new JCSandboxDuplicateException(name);
+      }
+
+      final Sandbox s =
+        new Sandbox(
+          name,
+          sandbox_host_classloader,
+          sandbox_host_class_policy,
+          in_class_resolver,
+          sandbox_class_policy,
+          in_p);
+
+      JCSandboxes.POLICY.putSandboxPermissions(s.getSandboxURL(), in_p);
+      this.sandboxes.put(name, s);
+      return s;
+    }
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java
new file mode 100644
index 0000000..84b12f1
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSandboxesType.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.security.Permissions;
+
+/**
+ * The main interface allowing the creation and configuration of sandboxes.
+ */
+
+public interface JCSandboxesType
+{
+  /**
+   * <p>
+   * Create a new sandbox.
+   * </p>
+   * 
+   * @param name
+   *          The name of the sandbox (must be valid, see @link
+   *          {@link JCSandboxNames}).
+   * @param sandbox_host_classloader
+   *          The class loader used to load classes on the host (outside of
+   *          the sandbox)
+   * @param sandbox_host_class_policy
+   *          The policy that controls access to classes outside of the
+   *          sandbox
+   * @param class_resolver
+   *          The class name resolver
+   * @param sandbox_class_policy
+   *          The policy that controls which classes will be loaded using the
+   *          sandbox class loader
+   * @param p
+   *          The permissions assigned to the sandbox
+   * @return A new sandbox
+   * @throws JCSandboxDuplicateException
+   *           If the sandbox already exists
+   * @throws JCSandboxException
+   *           On other sandbox errors
+   */
+
+  JCSandboxType createSandbox(
+    String name,
+    ClassLoader sandbox_host_classloader,
+    JCClassLoaderPolicyType sandbox_host_class_policy,
+    JCClassNameResolverType class_resolver,
+    JCClassLoaderPolicyType sandbox_class_policy,
+    Permissions p)
+    throws JCSandboxException;
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSecurityManager.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSecurityManager.java
new file mode 100644
index 0000000..29cd592
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSecurityManager.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import com.io7m.jnull.Nullable;
+
+/**
+ * <p>
+ * The sandboxing security manager.
+ * </p>
+ */
+
+public final class JCSecurityManager extends SecurityManager
+{
+  JCSecurityManager()
+  {
+
+  }
+
+  @Override public void checkAccess(
+    final @Nullable Thread t)
+  {
+    this.checkPermission(new RuntimePermission("modifyThread"));
+  }
+
+  @Override public void checkAccess(
+    final @Nullable ThreadGroup g)
+  {
+    this.checkPermission(new RuntimePermission("modifyThreadGroup"));
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
new file mode 100644
index 0000000..3d9708b
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicy.java
@@ -0,0 +1,247 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.io7m.jnull.NullCheck;
+import com.io7m.junreachable.UnreachableCodeException;
+
+/**
+ * <p>
+ * A sequential, pattern-based policy.
+ * </p>
+ *
+ * <p>
+ * Incoming class and resource names are matched against a series of
+ * <i>rules</i>. A rule specifies a <i>pattern</i> and a <i>conclusion</i>.
+ * The <i>current conclusion</i> is initially set to the default value as
+ * defined by the policy. If a <i>rule's</i> <i>pattern</i> matches the
+ * current name, the <i>current conclusion</i> becomes that of the rule. Rules
+ * are evaluated from first to last. If a rule is marked as <i>quick</i>,
+ * evaluation of rules stops at that point. When evaluation has completed, the
+ * <i>current conclusion</i> is returned and used to determine whether or not
+ * access is permitted.
+ * </p>
+ * <p>
+ * This scheme was inspired by the OpenBSD PF firewall.
+ * </p>
+ *
+ * @see <a href="http://www.openbsd.org/faq/pf/filter.html">OpenBSD PF</a>
+ */
+
+@SuppressWarnings({ "boxing", "synthetic-access" }) public final class JCSequentialPolicy implements
+  JCClassLoaderPolicyType
+{
+  private static final class Builder implements JCSequentialPolicyBuilderType
+  {
+    private final JCRuleConclusion class_default;
+    private final List<Rule>       class_rules;
+    private final JCRuleConclusion resource_default;
+    private final List<Rule>       resource_rules;
+
+    public Builder(
+      final JCRuleConclusion in_class_default,
+      final JCRuleConclusion in_resource_default)
+    {
+      this.class_default = NullCheck.notNull(in_class_default);
+      this.resource_default = NullCheck.notNull(in_resource_default);
+      this.class_rules = new ArrayList<JCSequentialPolicy.Rule>();
+      this.resource_rules = new ArrayList<JCSequentialPolicy.Rule>();
+    }
+
+    @Override public void addClassRule(
+      final Pattern p,
+      final JCRuleConclusion c,
+      final boolean quick)
+    {
+      NullCheck.notNull(p);
+      NullCheck.notNull(c);
+      this.class_rules.add(new Rule(p, quick, c));
+    }
+
+    @Override public void addResourceRule(
+      final Pattern p,
+      final JCRuleConclusion c,
+      final boolean quick)
+    {
+      NullCheck.notNull(p);
+      NullCheck.notNull(c);
+      this.resource_rules.add(new Rule(p, quick, c));
+    }
+
+    @Override public JCSequentialPolicy build()
+    {
+      return new JCSequentialPolicy(
+        this.class_rules,
+        this.resource_rules,
+        this.class_default,
+        this.resource_default);
+    }
+  }
+
+  private static final class Rule
+  {
+    final JCRuleConclusion conclusion;
+    final Pattern          pattern;
+    final boolean          quick;
+
+    Rule(
+      final Pattern in_pattern,
+      final boolean in_quick,
+      final JCRuleConclusion in_conclusion)
+    {
+      this.pattern = NullCheck.notNull(in_pattern);
+      this.quick = in_quick;
+      this.conclusion = NullCheck.notNull(in_conclusion);
+    }
+
+    boolean matches(
+      final String name)
+    {
+      final Matcher m = this.pattern.matcher(name);
+      return m.matches();
+    }
+  }
+
+  private static final Logger LOG;
+
+  static {
+    LOG =
+      NullCheck.notNull(LoggerFactory.getLogger(JCSequentialPolicy.class));
+  }
+
+  private static JCRuleConclusion checkRules(
+    final String type,
+    final String name,
+    final JCRuleConclusion default_conclusion,
+    final List<Rule> rules)
+  {
+    JCSequentialPolicy.LOG.debug("{} check {}", type, name);
+
+    JCRuleConclusion current_conclusion = default_conclusion;
+    boolean done = false;
+    for (int index = 0; index < rules.size(); ++index) {
+      final Rule rule = rules.get(index);
+
+      final boolean match = rule.matches(name);
+      if (match) {
+        current_conclusion = rule.conclusion;
+        if (rule.quick) {
+          done = true;
+        }
+      }
+
+      JCSequentialPolicy.LOG.debug(
+        "rule [{}]: quick:{} pattern:{} match:{} conclusion:{}",
+        index,
+        rule.quick,
+        rule.pattern,
+        match,
+        rule.conclusion);
+
+      if (done) {
+        break;
+      }
+    }
+
+    JCSequentialPolicy.LOG.info("class {} {}", current_conclusion, name);
+    return current_conclusion;
+  }
+
+  /**
+   * @param class_default
+   *          The default conclusion for classes
+   * @param resource_default
+   *          The default conclusion for resources
+   * @return A new policy builder
+   */
+
+  public static JCSequentialPolicyBuilderType newPolicyBuilder(
+    final JCRuleConclusion class_default,
+    final JCRuleConclusion resource_default)
+  {
+    return new Builder(class_default, resource_default);
+  }
+
+  private final JCRuleConclusion class_default;
+  private final List<Rule>       class_rules;
+  private final JCRuleConclusion resource_default;
+  private final List<Rule>       resource_rules;
+
+  private JCSequentialPolicy(
+    final List<Rule> in_class_rules,
+    final List<Rule> in_resource_rules,
+    final JCRuleConclusion in_class_default,
+    final JCRuleConclusion in_resource_default)
+  {
+    this.class_rules = NullCheck.notNull(in_class_rules);
+    this.resource_rules = NullCheck.notNull(in_resource_rules);
+    this.class_default = NullCheck.notNull(in_class_default);
+    this.resource_default = NullCheck.notNull(in_resource_default);
+  }
+
+  @Override public boolean policyAllowsClass(
+    final String name)
+  {
+    NullCheck.notNull(name);
+
+    final JCRuleConclusion current_conclusion =
+      JCSequentialPolicy.checkRules(
+        "class",
+        name,
+        this.class_default,
+        this.class_rules);
+
+    switch (current_conclusion) {
+      case ALLOW:
+        return true;
+      case DENY:
+        return false;
+    }
+
+    throw new UnreachableCodeException();
+  }
+
+  @Override public boolean policyAllowsResource(
+    final String name)
+  {
+    NullCheck.notNull(name);
+
+    final JCRuleConclusion current_conclusion =
+      JCSequentialPolicy.checkRules(
+        "resource",
+        name,
+        this.resource_default,
+        this.resource_rules);
+
+    switch (current_conclusion) {
+      case ALLOW:
+        return true;
+      case DENY:
+        return false;
+    }
+
+    throw new UnreachableCodeException();
+  }
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicyBuilderType.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicyBuilderType.java
new file mode 100644
index 0000000..57dec58
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/JCSequentialPolicyBuilderType.java
@@ -0,0 +1,66 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.core;
+
+import java.util.regex.Pattern;
+
+/**
+ * A sequential policy builder.
+ */
+
+public interface JCSequentialPolicyBuilderType
+{
+  /**
+   * Add a rule at the end of the current list of rules.
+   *
+   * @param p
+   *          The pattern against which class names will be matched
+   * @param c
+   *          The conclusion of the rule
+   * @param quick
+   *          <tt>true</tt> if the rule is quick; processing stops when this
+   *          rule matches
+   */
+
+  void addClassRule(
+    Pattern p,
+    JCRuleConclusion c,
+    boolean quick);
+
+  /**
+   * Add a rule at the end of the current list of rules.
+   *
+   * @param p
+   *          The pattern against which resource names will be matched
+   * @param c
+   *          The conclusion of the rule
+   * @param quick
+   *          <tt>true</tt> if the rule is quick; processing stops when this
+   *          rule matches
+   */
+
+  void addResourceRule(
+    Pattern p,
+    JCRuleConclusion c,
+    boolean quick);
+
+  /**
+   * @return A policy based on the parameters given so far
+   */
+
+  JCSequentialPolicy build();
+}
diff --git a/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
new file mode 100644
index 0000000..30b59fb
--- /dev/null
+++ b/io7m-jcage-core/src/main/java/com/io7m/jcage/core/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/**
+ * Core types and functions.
+ */
+
+@com.io7m.jnull.NonNullByDefault package com.io7m.jcage.core;
\ No newline at end of file
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/DangerousGetClassLoader.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/DangerousGetClassLoader.java
new file mode 100644
index 0000000..e20a000
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/DangerousGetClassLoader.java
@@ -0,0 +1,19 @@
+package com.io7m.jcage.tests.core;
+
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+
+import com.io7m.jnull.NullCheck;
+
+public final class DangerousGetClassLoader
+{
+  public static ClassLoader get()
+  {
+    return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
+      @Override public ClassLoader run()
+      {
+        return NullCheck.notNull(ClassLoader.getSystemClassLoader());
+      }
+    });
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/HelloThing.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/HelloThing.java
new file mode 100644
index 0000000..7128ee3
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/HelloThing.java
@@ -0,0 +1,11 @@
+package com.io7m.jcage.tests.core;
+
+public final class HelloThing implements Runnable
+{
+  @Override public void run()
+  {
+    final Class<? extends HelloThing> c = this.getClass();
+    final ClassLoader cl = c.getClassLoader();
+    System.out.println("Hello from " + c + ", loaded by " + cl);
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCClassLoaderPolicyUnrestrictedTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCClassLoaderPolicyUnrestrictedTest.java
new file mode 100644
index 0000000..6f1ca44
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCClassLoaderPolicyUnrestrictedTest.java
@@ -0,0 +1,39 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
+
+@SuppressWarnings("static-method") public final class JCClassLoaderPolicyUnrestrictedTest
+{
+  @Test public void testClass()
+  {
+    Assert.assertTrue(JCClassLoaderPolicyUnrestricted
+      .get()
+      .policyAllowsClass("something"));
+  }
+
+  @Test public void testResource()
+  {
+    Assert.assertTrue(JCClassLoaderPolicyUnrestricted
+      .get()
+      .policyAllowsResource("something"));
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCClassNameResolverClasspathTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCClassNameResolverClasspathTest.java
new file mode 100644
index 0000000..4dcee22
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCClassNameResolverClasspathTest.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+import java.net.URL;
+import java.util.List;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCClassNameResolverType;
+
+@SuppressWarnings("static-method") public final class JCClassNameResolverClasspathTest
+{
+  @Test public void testInvalidURL()
+  {
+    final List<URL> r =
+      JCClassNameResolverClasspath.getClasspathElements("in val id:", ":");
+    Assert.assertTrue(r.isEmpty());
+  }
+
+  @Test public void testNonexistent()
+  {
+    final JCClassNameResolverType r = JCClassNameResolverClasspath.get();
+    Assert.assertNull(r.resolveToBytes("nonexistent"));
+  }
+
+  @Test public void testInaccessible_0()
+  {
+    final JCClassNameResolverType r = JCClassNameResolverClasspath.get();
+    Assert.assertNull(r.resolveToBytes("java.lang.Object"));
+  }
+
+  @Test public void testOK_0()
+  {
+    final JCClassNameResolverType r = JCClassNameResolverClasspath.get();
+    Assert.assertNotNull(r
+      .resolveToBytes("com.io7m.junreachable.UnreachableCodeException"));
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxAdminPermissionTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxAdminPermissionTest.java
new file mode 100644
index 0000000..f3aa6a0
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxAdminPermissionTest.java
@@ -0,0 +1,178 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import com.io7m.jcage.core.JCSandboxAdminPermission;
+
+@SuppressWarnings("static-method") public final class JCSandboxAdminPermissionTest
+{
+  @Test public void testEqualsHashCode()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p2 =
+      new JCSandboxAdminPermission("z", "x");
+    final JCSandboxAdminPermission p3 =
+      new JCSandboxAdminPermission("x", "z");
+
+    Assert.assertEquals(p0, p0);
+    Assert.assertEquals(p0, p1);
+    Assert.assertEquals(p1, p0);
+    Assert.assertNotEquals(p0, null);
+    Assert.assertNotEquals(p0, Integer.valueOf(23));
+    Assert.assertNotEquals(p0, p2);
+    Assert.assertNotEquals(p0, p3);
+    Assert.assertNotEquals(p2, p3);
+
+    Assert.assertEquals(p0.hashCode(), p0.hashCode());
+    Assert.assertEquals(p0.hashCode(), p1.hashCode());
+    Assert.assertEquals(p1.hashCode(), p0.hashCode());
+    Assert.assertNotEquals(p0.hashCode(), p2.hashCode());
+    Assert.assertNotEquals(p0.hashCode(), p3.hashCode());
+    Assert.assertNotEquals(p2.hashCode(), p3.hashCode());
+
+    System.out.println(p0.toString());
+
+    Assert.assertEquals(p0.toString(), p0.toString());
+    Assert.assertEquals(p0.toString(), p1.toString());
+    Assert.assertEquals(p1.toString(), p0.toString());
+    Assert.assertNotEquals(p0.toString(), p2.toString());
+    Assert.assertNotEquals(p0.toString(), p3.toString());
+    Assert.assertNotEquals(p2.toString(), p3.toString());
+  }
+
+  @Test public void testImpliesFalse_0()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("*", "*");
+    final RuntimePermission p1 = new RuntimePermission("*");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesFalse_1()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "*");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("*", "*");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesFalse_2()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("*", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("*", "*");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesFalse_3()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("*", "*");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesFalse_4()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("z", "x");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesFalse_5()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("x", "z");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesFalse_6()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("x", "x");
+    Assert.assertFalse(p0.implies(p1));
+  }
+
+  @Test public void testImpliesTrue_0()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("*", "*");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("*", "*");
+    Assert.assertTrue(p0.implies(p1));
+  }
+
+  @Test public void testImpliesTrue_1()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("*", "*");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("z", "*");
+    Assert.assertTrue(p0.implies(p1));
+  }
+
+  @Test public void testImpliesTrue_2()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("*", "*");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("*", "z");
+    Assert.assertTrue(p0.implies(p1));
+  }
+
+  @Test public void testImpliesTrue_3()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("*", "*");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("z", "z");
+    Assert.assertTrue(p0.implies(p1));
+  }
+
+  @Test public void testImpliesTrue_4()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "*");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("z", "*");
+    Assert.assertTrue(p0.implies(p1));
+  }
+
+  @Test public void testImpliesTrue_5()
+  {
+    final JCSandboxAdminPermission p0 =
+      new JCSandboxAdminPermission("z", "z");
+    final JCSandboxAdminPermission p1 =
+      new JCSandboxAdminPermission("z", "z");
+    Assert.assertTrue(p0.implies(p1));
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
new file mode 100644
index 0000000..5c2ce2c
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxEscapesTest.java
@@ -0,0 +1,253 @@
+package com.io7m.jcage.tests.core;
+
+import java.io.FilePermission;
+import java.security.AccessControlException;
+import java.security.Permission;
+import java.security.Permissions;
+import java.security.SecurityPermission;
+import java.util.PropertyPermission;
+
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.rules.ExpectedException;
+
+import com.io7m.jcage.core.JCClassLoaderPolicyType;
+import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
+import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCSandboxAdminPermission;
+import com.io7m.jcage.core.JCSandboxType;
+import com.io7m.jcage.core.JCSandboxes;
+import com.io7m.jcage.core.JCSandboxesType;
+
+@SuppressWarnings({ "null", "static-method", "unchecked" }) public final class JCSandboxEscapesTest
+{
+  private static String accessDeniedMessage(
+    final Permission p)
+  {
+    final StringBuilder s = new StringBuilder();
+    s.append("access denied ");
+    s.append(p);
+    return s.toString();
+  }
+
+  @Rule public final ExpectedException expected = ExpectedException.none();
+
+  private SandboxBreakerType getSandboxBreaker(
+    final String box_name)
+    throws AssertionError
+  {
+    return this.getSandboxBreakerWith(box_name, new Permissions());
+  }
+
+  private SandboxBreakerType getSandboxBreakerWith(
+    final String box_name,
+    final Permissions perms)
+    throws AssertionError
+  {
+    try {
+      final JCClassLoaderPolicyType sandbox_policy =
+        new JCClassLoaderPolicyType() {
+          @Override public boolean policyAllowsClass(
+            final String name)
+          {
+            return name
+              .startsWith("com.io7m.jcage.tests.core.sandbox_breaker.");
+          }
+
+          @Override public boolean policyAllowsResource(
+            final String name)
+          {
+            return false;
+          }
+        };
+
+      final JCSandboxesType sb0 = JCSandboxes.get();
+      final JCSandboxType s0 =
+        sb0.createSandbox(
+          box_name,
+          ClassLoader.getSystemClassLoader(),
+          JCClassLoaderPolicyUnrestricted.get(),
+          JCClassNameResolverClasspath.get(),
+          sandbox_policy,
+          perms);
+
+      final Class<SandboxBreakerType> c0 =
+        (Class<SandboxBreakerType>) s0
+          .getSandboxLoadedClass("com.io7m.jcage.tests.core.sandbox_breaker.SandboxBreaker");
+
+      return c0.newInstance();
+    } catch (final Exception e) {
+      throw new AssertionError(e);
+    }
+  }
+
+  @Test public void testCheckPermission()
+    throws Exception
+  {
+    final FilePermission p = new FilePermission("/tmp/z", "read");
+    final Permissions ps = new Permissions();
+    ps.add(p);
+    final SandboxBreakerType i =
+      this.getSandboxBreakerWith("tryCheckPermission", ps);
+    i.tryCheckPermission(p);
+  }
+
+  @Test public void testCheckPermissionCreateSandbox()
+    throws Exception
+  {
+    final JCSandboxAdminPermission p =
+      new JCSandboxAdminPermission("*", "createSandbox");
+    final Permissions ps = new Permissions();
+    ps.add(p);
+    final SandboxBreakerType i =
+      this.getSandboxBreakerWith("tryCheckPermissionCreateSandbox", ps);
+    i.tryCheckPermission(p);
+  }
+
+  @Test public void testLoadNative()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("loadLibrary.libc")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("tryLoadNative");
+    i.tryLoadNative();
+  }
+
+  @Test public void testReflectionGetDeclared()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("accessDeclaredMembers")));
+
+    final SandboxBreakerType i =
+      this.getSandboxBreaker("tryReflectionGetDeclared");
+    i.tryReflectionGetDeclared();
+  }
+
+  @Test public void testClassLoaderCreate()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("createClassLoader")));
+
+    final SandboxBreakerType i =
+      this.getSandboxBreaker("tryClassLoaderCreate");
+    i.tryClassLoaderCreate();
+  }
+
+  @Test public void testClassLoaderGet()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("getClassLoader")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("tryClassLoaderGet");
+    i.tryClassLoaderGet();
+  }
+
+  @Test public void testClassLoaderGetSystem()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("getClassLoader")));
+
+    final SandboxBreakerType i =
+      this.getSandboxBreaker("tryClassLoaderGetSystem");
+    i.tryClassLoaderGetSystem();
+  }
+
+  @Test public void testFileWrite()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new FilePermission("test.txt", "write")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("tryFileWrite");
+    i.tryFileWrite();
+  }
+
+  @Test public void testGetPolicy()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new SecurityPermission("getPolicy")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("tryGetPolicy");
+    i.tryGetPolicy();
+  }
+
+  @Test public void testSandboxesCreate()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected
+      .expectMessage(JCSandboxEscapesTest
+        .accessDeniedMessage(new JCSandboxAdminPermission(
+          "a",
+          "createSandbox")));
+
+    final Permissions perms = new Permissions();
+    perms.add(new JCSandboxAdminPermission("*", "getSandboxes"));
+    perms.add(new SecurityPermission("getPolicy"));
+    perms.add(new PropertyPermission("java.class.path", "read"));
+    perms.add(new PropertyPermission("path.separator", "read"));
+
+    final SandboxBreakerType i =
+      this.getSandboxBreakerWith("testSandboxesCreate", perms);
+    i.trySandboxesCreate();
+  }
+
+  @Test public void testSandboxesGet()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected
+      .expectMessage(JCSandboxEscapesTest
+        .accessDeniedMessage(new JCSandboxAdminPermission("*", "getSandboxes")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("testSandboxesGet");
+    i.trySandboxesGet();
+  }
+
+  @Test public void testSetPolicy()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new SecurityPermission("setPolicy")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("trySetPolicy");
+    i.trySetPolicy();
+  }
+
+  @Test public void testThreadCreate()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("modifyThreadGroup")));
+
+    final SandboxBreakerType i = this.getSandboxBreaker("tryThreadCreate");
+    i.tryThreadCreate();
+  }
+
+  @Test public void testThreadGroupCreate()
+    throws Exception
+  {
+    this.expected.expect(AccessControlException.class);
+    this.expected.expectMessage(JCSandboxEscapesTest
+      .accessDeniedMessage(new RuntimePermission("modifyThreadGroup")));
+
+    final SandboxBreakerType i =
+      this.getSandboxBreaker("tryThreadGroupCreate");
+    i.tryThreadGroupCreate();
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java
new file mode 100644
index 0000000..9fcbb26
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSandboxesTest.java
@@ -0,0 +1,225 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+import java.net.URL;
+import java.security.Permissions;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.valid4j.exceptions.RequireViolation;
+
+import com.io7m.jcage.core.JCClassLoader;
+import com.io7m.jcage.core.JCClassLoaderPolicyType;
+import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
+import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCSandboxClassMissingException;
+import com.io7m.jcage.core.JCSandboxClassWrongLoaderException;
+import com.io7m.jcage.core.JCSandboxDuplicateException;
+import com.io7m.jcage.core.JCSandboxSecurityException;
+import com.io7m.jcage.core.JCSandboxType;
+import com.io7m.jcage.core.JCSandboxes;
+import com.io7m.jcage.core.JCSandboxesType;
+
+@SuppressWarnings({ "null", "static-method", "unchecked" }) public final class JCSandboxesTest
+{
+  @Test public void testCreateSandbox()
+    throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    final JCSandboxType s0 =
+      sb0.createSandbox(
+        "testCreateSandbox",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        new Permissions());
+
+    final URL s0u = s0.getSandboxURL();
+    Assert.assertEquals(
+      "http://jcage-sandbox/testCreateSandbox",
+      s0u.toString());
+    Assert.assertEquals("testCreateSandbox", s0.getSandboxName());
+  }
+
+  @Test(expected = RequireViolation.class) public
+    void
+    testCreateSandboxBadName()
+      throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+
+    sb0.createSandbox(
+      "",
+      ClassLoader.getSystemClassLoader(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      JCClassNameResolverClasspath.get(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      new Permissions());
+  }
+
+  @Test(expected = JCSandboxDuplicateException.class) public
+    void
+    testCreateSandboxDuplicate()
+      throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    sb0.createSandbox(
+      "testCreateSandboxDuplicate",
+      ClassLoader.getSystemClassLoader(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      JCClassNameResolverClasspath.get(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      new Permissions());
+    sb0.createSandbox(
+      "testCreateSandboxDuplicate",
+      ClassLoader.getSystemClassLoader(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      JCClassNameResolverClasspath.get(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      new Permissions());
+  }
+
+  @Test public void testEmpty0()
+  {
+    final JCSandboxesType b = JCSandboxes.get();
+  }
+
+  @Test public void testEmpty1()
+  {
+    final JCSandboxesType b0 = JCSandboxes.get();
+    final JCSandboxesType b1 = JCSandboxes.get();
+    Assert.assertSame(b0, b1);
+  }
+
+  @Test public void testSandboxClass_0()
+    throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    final JCSandboxType s0 =
+      sb0.createSandbox(
+        "testSandboxClass_0",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        new Permissions());
+
+    final Class<Thing> c0 =
+      (Class<Thing>) s0
+        .getSandboxLoadedClass("com.io7m.jcage.tests.core.Thing");
+
+    final JCClassLoader l0 = s0.getSandboxClassLoader();
+    Assert.assertSame(c0.getClassLoader(), l0);
+
+    final Class<Thing> c1 =
+      (Class<Thing>) s0
+        .getSandboxLoadedClass("com.io7m.jcage.tests.core.Thing");
+
+    Assert.assertSame(c0, c1);
+  }
+
+  @Test public void testSandboxClass_1()
+    throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    final JCSandboxType s0 =
+      sb0.createSandbox(
+        "testSandboxClass_1",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        new Permissions());
+
+    final Class<Runnable> c0 =
+      (Class<Runnable>) s0
+        .getSandboxLoadedClass("com.io7m.jcage.tests.core.HelloThing");
+
+    final Runnable i = c0.newInstance();
+    i.run();
+  }
+
+  @Test(expected = JCSandboxClassMissingException.class) public
+    void
+    testSandboxClassMissing_0()
+      throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    final JCSandboxType s0 =
+      sb0.createSandbox(
+        "testSandboxClassMissing_0",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        new Permissions());
+
+    s0.getSandboxLoadedClass("absolutely.does.not.exist.Thing");
+  }
+
+  @Test(expected = JCSandboxClassWrongLoaderException.class) public
+    void
+    testSandboxClassWrong_0()
+      throws Exception
+  {
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    final JCSandboxType s0 =
+      sb0.createSandbox(
+        "testSandboxClassWrong_0",
+        ClassLoader.getSystemClassLoader(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        JCClassNameResolverClasspath.get(),
+        JCClassLoaderPolicyUnrestricted.get(),
+        new Permissions());
+
+    s0.getSandboxLoadedClass("java.lang.Object");
+  }
+
+  @Test(expected = JCSandboxSecurityException.class) public
+    void
+    testSandboxClassDenied_0()
+      throws Exception
+  {
+    final JCClassLoaderPolicyType deny = new JCClassLoaderPolicyType() {
+      @Override public boolean policyAllowsResource(
+        final String name)
+      {
+        return false;
+      }
+
+      @Override public boolean policyAllowsClass(
+        final String name)
+      {
+        return false;
+      }
+    };
+
+    final JCSandboxesType sb0 = JCSandboxes.get();
+    final JCSandboxType s0 =
+      sb0.createSandbox(
+        "testSandboxClassDenied_0",
+        ClassLoader.getSystemClassLoader(),
+        deny,
+        JCClassNameResolverClasspath.get(),
+        deny,
+        new Permissions());
+
+    s0.getSandboxLoadedClass("com.io7m.jcage.tests.core.Thing");
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java
new file mode 100644
index 0000000..f69f23d
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/JCSequentialPolicyTest.java
@@ -0,0 +1,105 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+import java.util.regex.Pattern;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+import com.io7m.jcage.core.JCRuleConclusion;
+import com.io7m.jcage.core.JCSequentialPolicy;
+import com.io7m.jcage.core.JCSequentialPolicyBuilderType;
+
+@SuppressWarnings("static-method") public final class JCSequentialPolicyTest
+{
+  @Test public void testPolicyEmpty_0()
+  {
+    final JCSequentialPolicyBuilderType jpb =
+      JCSequentialPolicy.newPolicyBuilder(
+        JCRuleConclusion.DENY,
+        JCRuleConclusion.DENY);
+    final JCSequentialPolicy jp = jpb.build();
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Object"));
+    Assert.assertFalse(jp.policyAllowsResource("file.txt"));
+  }
+
+  @Test public void testPolicy_0()
+  {
+    final JCSequentialPolicyBuilderType jpb =
+      JCSequentialPolicy.newPolicyBuilder(
+        JCRuleConclusion.DENY,
+        JCRuleConclusion.DENY);
+
+    jpb.addClassRule(
+      Pattern.compile("java.lang.Object"),
+      JCRuleConclusion.ALLOW,
+      true);
+
+    final JCSequentialPolicy jp = jpb.build();
+    Assert.assertTrue(jp.policyAllowsClass("java.lang.Object"));
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Object.More"));
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Nothing"));
+    Assert.assertFalse(jp.policyAllowsResource("file.txt"));
+  }
+
+  @Test public void testPolicy_1()
+  {
+    final JCSequentialPolicyBuilderType jpb =
+      JCSequentialPolicy.newPolicyBuilder(
+        JCRuleConclusion.DENY,
+        JCRuleConclusion.DENY);
+
+    jpb.addClassRule(
+      Pattern.compile("java.lang.Object"),
+      JCRuleConclusion.ALLOW,
+      false);
+    jpb.addClassRule(
+      Pattern.compile("java.lang.Object.More"),
+      JCRuleConclusion.ALLOW,
+      false);
+
+    final JCSequentialPolicy jp = jpb.build();
+    Assert.assertTrue(jp.policyAllowsClass("java.lang.Object"));
+    Assert.assertTrue(jp.policyAllowsClass("java.lang.Object.More"));
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Nothing"));
+    Assert.assertFalse(jp.policyAllowsResource("file.txt"));
+  }
+
+  @Test public void testPolicy_2()
+  {
+    final JCSequentialPolicyBuilderType jpb =
+      JCSequentialPolicy.newPolicyBuilder(
+        JCRuleConclusion.DENY,
+        JCRuleConclusion.DENY);
+
+    jpb.addClassRule(
+      Pattern.compile("java.lang.Object"),
+      JCRuleConclusion.ALLOW,
+      false);
+    jpb.addClassRule(
+      Pattern.compile("java.lang.Object"),
+      JCRuleConclusion.DENY,
+      false);
+
+    final JCSequentialPolicy jp = jpb.build();
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Object"));
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Object.More"));
+    Assert.assertFalse(jp.policyAllowsClass("java.lang.Nothing"));
+    Assert.assertFalse(jp.policyAllowsResource("file.txt"));
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java
new file mode 100644
index 0000000..2cffea6
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/SandboxBreakerType.java
@@ -0,0 +1,66 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+import java.security.Permission;
+
+/**
+ * Operations that try to subvert the sandbox.
+ */
+
+public interface SandboxBreakerType
+{
+  void tryCheckPermission(
+    Permission p)
+    throws Exception;
+
+  void tryClassLoaderCreate()
+    throws Exception;
+
+  void tryClassLoaderGet()
+    throws Exception;
+
+  void tryClassLoaderGetSystem()
+    throws Exception;
+
+  void tryFileWrite()
+    throws Exception;
+
+  void tryGetPolicy()
+    throws Exception;
+
+  void tryLoadNative()
+    throws Exception;
+
+  void trySandboxesCreate()
+    throws Exception;
+
+  void trySandboxesGet()
+    throws Exception;
+
+  void trySetPolicy()
+    throws Exception;
+
+  void tryThreadCreate()
+    throws Exception;
+
+  void tryThreadGroupCreate()
+    throws Exception;
+
+  void tryReflectionGetDeclared()
+    throws Exception;
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/Thing.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/Thing.java
new file mode 100644
index 0000000..e3d6835
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/Thing.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core;
+
+public final class Thing
+{
+  public Thing()
+  {
+
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/ThingWithPrivate.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/ThingWithPrivate.java
new file mode 100644
index 0000000..bf54a7b
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/ThingWithPrivate.java
@@ -0,0 +1,11 @@
+package com.io7m.jcage.tests.core;
+
+public final class ThingWithPrivate
+{
+  private int value;
+
+  public ThingWithPrivate()
+  {
+
+  }
+}
diff --git a/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java
new file mode 100644
index 0000000..bb9f394
--- /dev/null
+++ b/io7m-jcage-core/src/test/java/com/io7m/jcage/tests/core/sandbox_breaker/SandboxBreaker.java
@@ -0,0 +1,173 @@
+/*
+ * Copyright © 2015 <code@io7m.com> http://io7m.com
+ * 
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+package com.io7m.jcage.tests.core.sandbox_breaker;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.lang.reflect.Field;
+import java.security.AccessControlException;
+import java.security.Permission;
+import java.security.Permissions;
+import java.security.Policy;
+
+import com.io7m.jcage.core.JCClassLoaderPolicyUnrestricted;
+import com.io7m.jcage.core.JCClassNameResolverClasspath;
+import com.io7m.jcage.core.JCSandboxes;
+import com.io7m.jcage.core.JCSandboxesType;
+import com.io7m.jcage.tests.core.DangerousGetClassLoader;
+import com.io7m.jcage.tests.core.SandboxBreakerType;
+import com.io7m.jcage.tests.core.ThingWithPrivate;
+import com.io7m.jnull.NullCheck;
+
+public final class SandboxBreaker implements SandboxBreakerType
+{
+  public SandboxBreaker()
+  {
+
+  }
+
+  @Override public void tryCheckPermission(
+    final Permission p)
+    throws Exception
+  {
+    System.out.println("tryCheckPermission: starting");
+    final SecurityManager sm = NullCheck.notNull(System.getSecurityManager());
+    System.out.println("tryCheckPermission: checking");
+    sm.checkPermission(p);
+  }
+
+  @Override public void tryClassLoaderCreate()
+    throws Exception
+  {
+    System.out.println("tryClassLoaderCreate: starting");
+
+    final ClassLoader c = new ClassLoader(null) {
+    };
+    c.loadClass("java.lang.Object");
+  }
+
+  @Override public void tryClassLoaderGet()
+    throws Exception
+  {
+    System.out.println("tryClassLoaderGet: starting");
+    ClassLoader.getSystemClassLoader();
+  }
+
+  @Override public void tryClassLoaderGetSystem()
+    throws Exception
+  {
+    System.out.println("tryClassLoaderGetSystem: starting");
+    final ClassLoader sys = ClassLoader.getSystemClassLoader();
+    System.out.println("tryClassLoaderGetSystem: " + sys);
+  }
+
+  @Override public void tryFileWrite()
+    throws Exception
+  {
+    System.out.println("tryFileWrite: starting");
+    final File f = new File("test.txt");
+    try (final FileOutputStream fs = new FileOutputStream(f)) {
+      fs.write("FAILURE".getBytes());
+      fs.flush();
+    }
+  }
+
+  @Override public void tryGetPolicy()
+    throws Exception
+  {
+    System.out.println("tryGetPolicy: starting");
+    Policy.getPolicy();
+  }
+
+  @Override public void tryLoadNative()
+    throws Exception
+  {
+    System.out.println("tryLoadNative: starting");
+    System.loadLibrary("libc");
+  }
+
+  @Override public void tryReflectionGetDeclared()
+    throws Exception
+  {
+    System.out.println("tryReflectionGetDeclared: starting");
+    final ThingWithPrivate t = new ThingWithPrivate();
+    final Class<? extends ThingWithPrivate> c = t.getClass();
+    final Field f = c.getDeclaredField("value");
+    f.setInt(t, 23);
+  }
+
+  @Override public void trySandboxesCreate()
+    throws Exception
+  {
+    System.out.println("trySandboxesCreate: starting");
+
+    JCSandboxesType s = null;
+    try {
+      s = JCSandboxes.get();
+    } catch (final AccessControlException x) {
+      throw new AssertionError(x);
+    }
+
+    s.createSandbox(
+      "a",
+      DangerousGetClassLoader.get(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      JCClassNameResolverClasspath.get(),
+      JCClassLoaderPolicyUnrestricted.get(),
+      new Permissions());
+  }
+
+  @Override public void trySandboxesGet()
+    throws Exception
+  {
+    System.out.println("trySandboxesGet: starting");
+    JCSandboxes.get();
+  }
+
+  @Override public void trySetPolicy()
+    throws Exception
+  {
+    System.out.println("trySetPolicy: starting");
+    Policy.setPolicy(new Policy() {
+    });
+  }
+
+  @Override public void tryThreadCreate()
+    throws Exception
+  {
+    System.out.println("tryThreadCreate: starting");
+    final Thread t = new Thread(new Runnable() {
+      @Override public void run()
+      {
+        System.out.println("tryThreadCreate: Hello");
+      }
+    });
+    t.start();
+  }
+
+  @Override public void tryThreadGroupCreate()
+    throws Exception
+  {
+    System.out.println("tryThreadGroupCreate: starting");
+    final Thread t = Thread.currentThread();
+    System.out.println("tryThreadGroupCreate: " + t);
+    final ThreadGroup tg = t.getThreadGroup();
+    System.out.println("tryThreadGroupCreate: " + tg);
+    tg.destroy();
+    System.out.println("tryThreadGroupCreate: unexpectedly succeeded");
+  }
+}
diff --git a/io7m-jcage-core/src/test/resources/logback.xml b/io7m-jcage-core/src/test/resources/logback.xml
new file mode 100644
index 0000000..eb9ce09
--- /dev/null
+++ b/io7m-jcage-core/src/test/resources/logback.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration debug="false">
+
+  <appender
+    name="STDERR"
+    class="ch.qos.logback.core.ConsoleAppender">
+    <encoder>
+      <pattern>%-5level: %logger{128}: %msg%n
+      </pattern>
+    </encoder>
+    <target>System.err</target>
+  </appender>
+
+  <logger
+    name="org.reflections.Reflections"
+    level="WARN">
+  </logger>
+
+  <logger
+    name="com.mchange"
+    level="WARN">
+  </logger>
+
+  <root level="DEBUG">
+    <appender-ref ref="STDERR" />
+  </root>
+
+</configuration>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..9906ca8
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>com.io7m.jcage</groupId>
+  <artifactId>io7m-jcage</artifactId>
+  <version>0.1.0</version>
+
+  <packaging>pom</packaging>
+  <name>io7m-jcage</name>
+  <description>Run-time configurable JVM sandboxing</description>
+  <url>http://mvn.io7m.com/${project.artifactId}/</url>
+
+  <modules>
+    <module>io7m-jcage-core</module>
+  </modules>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+    <siteReposDirectory>/com/io7m/jcage</siteReposDirectory>
+    <siteDocumentationDirectory>/com/io7m/jcage/io7m-jcage-documentation</siteDocumentationDirectory>
+  </properties>
+
+  <licenses>
+    <license>
+      <name>ISC License</name>
+      <url>http://www.opensource.org/licenses/isc-license.txt</url>
+    </license>
+  </licenses>
+
+  <scm>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <connection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</connection>
+    <developerConnection>scm:http://fossil.io7m.com/repo.cgi/io7m-jcage</developerConnection>
+  </scm>
+
+  <developers>
+    <developer>
+      <id>io7m</id>
+      <name>io7m</name>
+      <email>code@io7m.com</email>
+      <url>http://io7m.com</url>
+    </developer>
+  </developers>
+
+  <issueManagement>
+    <url>http://fossil.io7m.com/repo.cgi/io7m-jcage</url>
+    <system>Fossil</system>
+  </issueManagement>
+
+  <distributionManagement>
+    <site>
+      <id>io7m</id>
+      <name>io7m.com</name>
+      <url>${project.url}</url>
+    </site>
+  </distributionManagement>
+
+  <mailingLists>
+    <mailingList>
+      <name>io7m-jcage</name>
+      <subscribe>io7m-jcage-join@lists.io7m.com</subscribe>
+      <unsubscribe>io7m-jcage-leave@lists.io7m.com</unsubscribe>
+      <post>io7m-jcage@lists.io7m.com</post>
+      <archive>http://lists.io7m.com/io7m-jcage/archive</archive>
+    </mailingList>
+  </mailingLists>
+
+  <prerequisites>
+    <maven>2.2.1</maven>
+  </prerequisites>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.7</version>
+        <configuration>
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.3</version>
+      </plugin>
+      <plugin>
+        <groupId>com.io7m.changelog</groupId>
+        <artifactId>io7m-changelog-plugin</artifactId>
+        <version>2.1.0</version>
+        <inherited>false</inherited>
+        <configuration>
+          <file>README-CHANGES.xml</file>
+          <feedAuthorEmail>contact@io7m.com</feedAuthorEmail>
+          <feedAuthorName>io7m release robot</feedAuthorName>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <build>
+    <plugins>
+      <!-- Plugin versions -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.5</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.7</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.6</version>
+      </plugin>
+    </plugins>
+
+    <!-- Allow deployment over ssh -->
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>2.2</version>
+      </extension>
+    </extensions>
+
+    <!-- Mark plugins as ignored in Eclipse, does not affect the build. -->
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.sonatype.maven.plugin</groupId>
+                    <artifactId>emma-maven-plugin</artifactId>
+                    <versionRange>[1.2,)</versionRange>
+                    <goals>
+                      <goal>instrument</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <!-- Sign artifacts when deploying to io7m -->
+  <profiles>
+    <profile>
+      <id>io7m-deployment-private</id>
+      <activation>
+        <property>
+          <name>io7m.deployment</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+</project>

commit 010fe8c936a5929027faae5935e82e7296251d10
Author: Mark Raynsford <code@io7m.com>
Date:   Thu Jul 17 12:39:08 2014 +0000

    initial empty check-in

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d42e255
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.fslckout
