The methods need to be static because they are called form a constructor.