Registering required RPs from template metadata (1588437)

Why this class is changed?