middleware() and condition() removed, updated docs for installation instructions