Core Types for Handling Mobi documents