More attribute/formatting parsing stuff