Implemented begin() and end() widget's methods