Changed the way how widget parts are found.