Added comments for methods in FlexLayout