Add restriction to allowed types in base type extension