Fixes two cukes.

Type is used for STI, not for getting the type.