Some facilities for software patterns (singleton at the moment)