This can be moved into the onRender method since it only needs to happen once.