Attach _tp field correctly