Add findIndex for finding block type index. Bump v0.4.0