Added method to check for uploads
Added method to retrieve widget instance