Support different formats