add a registry to track the created methods