Add putMapping, getMapping and verifyType.