Fixed compile warning by making all console properties readonly