Static Document changed to an instance