Add inheritance support. Setup IO framework.