Class inheritance without parsing definition