Remove implied self and unnecessary variable.