Added getters by type and id