Static method getInstance() conflicts with getInstance() in class BaseRegistry,