The extend method on RegulationExtension now returns the narrowed type AsRegulations, removing the need for client code to cast.