Add decalaration method for checking commit activity