Fix passing custom Entry model class