Change size-related APIs. and more examples are ready.