Bug fix: some functions were not called correctly as static methods in LeidenDatabase class.