Move this to the end of constructor.