make block types configurable on datatype