Correctly type the target and test it.