Added getfields method to abstractitem