Adding portlet and widget classes