This should be in the constructor.