Add defined type for log sources
Make ensure parameter for package class accept present or latest