Support for passing required size from Ui, Modified comments.