Init order is important. This should fix the NPE.