Added a single instances factory