Extract common classes