Remove unused codes in Orchard.Core