Fully implement class compilation