Replaced type hint "self" with the class's actual name