Extracts classes and interfaces.