Moved the base types for data to a single file to take advantage of the
sealed modifier.