Class parsing