typing class