Moved the connected property declaration so it was correctly available.