Added a way to get typed singleton variables easily without iteration.