Exclude unused methods when ENABLE_DYNAMO_SCHEDULER is defined