Add support for contract creation.