More additions to the learning framework