SinkLibrary: replace static methods with getInstance()