Depending on the decision for `.type` vs `getType()`, this might need to be changed