Trying singleton as decorator