Added initial search contract functionality.