issue 268, and also add support for custom cssClass to Blank endpoint