Added creating 'shared instance' of class with block