Added `coerceThis` and fixed types.