Add orientation support