Refactoring CCNTime and ContentType classes.