remove superfluous self
assert type_cast classes