Added block type. Closes #41.