Fix auto-generated method stub