Fix 'undefined helper method' errors