Changed ShareRecord to extend ShellMethodWithRecordId.