Made getSecondsSpent static.