Properly support automatic setter with typehint