Upgrade the documentation to match filter code