Extract callback property code into echo module