Remove not used methods to improve testing coverage.