Removed renderGui delegate.