Facebook module: fix for closure and protected method debugSection