remove /doc + implements getType, getSubType + unit test