I agree with the comment regarding ding_availability. Also it I think it would be appropriate to have a separate theming function for the availability list. A default implementation using tables is OK but the current implementation makes it impossible to break free of the tables.