Remove need to pass around flags by allowing use of custom ThriftServiceMetadataBuilder objects.
Remove unused.