Creating contracts using the new operator