Add support for block duration.