Added support for leave types.