Added generic reference and log helper classes