We don't use `::foo` for class methods.

And while you've added a comment to remove it, you have not deprecated `action_has_layout?`, as far as I can see.