I am not a fan of two classes in the same file, but this may be a Java-based predisposition.