Add new affordance through Python