Fixed major flaw in defining correct cython function per block type.