Use closure instead of public method.