Implement 'new foo as Bar'