Replaced fCollapse* variables in method calls with context function
calls.