Fixed NullPointerException error. Updated plugin sources to support Kentico v7.x.